LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2005, 03:42 PM   #1
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: openSUSE Tumbleweed
Posts: 209

Rep: Reputation: 30
convert accent...


hi

in c language under linux, i need to create some web page

a function pass me the name file to create...

some string have accent: like Février...

are there a function to remove the accent like é, è, û,ô... ?

thanks
 
Old 03-04-2005, 10:03 AM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
You can't just remove the accent, it's part of the character. You'd need to create a table that contains all the characters you want to convert to which character and then do a lookup on that table when you come across one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another convert Greggor LinuxQuestions.org Member Intro 6 02-15-2007 04:36 PM
printing Spanish accent characters in Perl/tk entry widget puedo Programming 1 02-19-2005 02:16 PM
FC3 font problems - accent display - renaming error tomhemba Fedora 8 01-17-2005 03:33 PM
Question about accent characters, etc in Openoffice.org LaptopLinux Linux - Software 1 07-25-2004 10:57 PM
Want to Convert, but Can't New2Lindows Linux - General 4 08-14-2003 02:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration