htmlnewbie23 0 Posted November 15, 2007 Report Share Posted November 15, 2007 I am translating certain web pages into French and this therefore involves the use of French accents. I know that one can replace these accented letters with certain codes "é", etc. but it is tedious to have to do this to a entire page of text. I assume there must be a charset I could use so that the accents appear automatically without my having to replace them. Is that the way to deal with this. Is there another way? Quote Link to post Share on other sites
Ingolme 1,031 Posted November 15, 2007 Report Share Posted November 15, 2007 If your keyboard doesn't write them then you'll have to put them yourself.The codes would beé é è è ê êÉ É È È Ê ÊThe same with other vowels.If what you want is a character set that will display them rather than using HTML entities, try ISO-8859-1, instead of UTF-8. Quote Link to post Share on other sites
htmlnewbie23 0 Posted November 15, 2007 Author Report Share Posted November 15, 2007 If your keyboard doesn't write them then you'll have to put them yourself.The codes would beé é è è ê êÉ É È È Ê ÊThe same with other vowels.If what you want is a character set that will display them rather than using HTML entities, try ISO-8859-1, instead of UTF-8.Thanks for replying.That is what I was hoping for. If I use ISO-8859-1, will I still need to replace the accented letters with the html codes? Since I am using copy/paste, the accented letters already are in the translated text, but not as html code. I am trying to avoid having to replace each accented letter one by one with code. Will ISO-8859-1 do that? Quote Link to post Share on other sites
Ingolme 1,031 Posted November 15, 2007 Report Share Posted November 15, 2007 Yes, that character encoding will display the characters correctly. You don't need to use entities. Quote Link to post Share on other sites
justsomeguy 1,135 Posted November 15, 2007 Report Share Posted November 15, 2007 Dealing with French accentsI don't know about you guys, but I don't deal with them at all. If someone comes at me with a French accent I'm all, like, "hey, buddy, you better start talking like an American or I'm out of here." I just don't put up with it at all.That's my stance on the matter. Let me know if you have any questions. Quote Link to post Share on other sites
Synook 47 Posted November 16, 2007 Report Share Posted November 16, 2007 Well he could be making a bilingual site...And if a French-speaking person went to a site and saw English text, then they would be like "hey, buddy, you better start talking like a Frenchman or I'm out of here" (in French of course) Quote Link to post Share on other sites
justsomeguy 1,135 Posted November 16, 2007 Report Share Posted November 16, 2007 I'm not talking websites, I'm talking speaking. People speaking with a French accent. He was asking about how to deal with French accents.. Quote Link to post Share on other sites
Synook 47 Posted November 17, 2007 Report Share Posted November 17, 2007 Oh right lol I get it now Quote Link to post Share on other sites
javaholic5 1 Posted November 19, 2007 Report Share Posted November 19, 2007 Thanks for replying.That is what I was hoping for. If I use ISO-8859-1, will I still need to replace the accented letters with the html codes? Since I am using copy/paste, the accented letters already are in the translated text, but not as html code. I am trying to avoid having to replace each accented letter one by one with code. Will ISO-8859-1 do that? If you are using a WYSIWYG editor such as dreamweaver, the all you have to do is paste your content in design view, and dreamweaver will do it for you automatically. (I wouldn't rely to much on WYSIWYG editors though. - If you want to be a coder and irreplaceble that is) Quote Link to post Share on other sites
javaholic5 1 Posted November 19, 2007 Report Share Posted November 19, 2007 Oh right lol I get it now It took me a while as well. Quote Link to post Share on other sites
Synook 47 Posted November 20, 2007 Report Share Posted November 20, 2007 I wouldn't rely to much on WYSIWYG editors though. - If you want to be a coder and irreplaceble that is)Lol you could put it that way - if you use WYSIWYG then your boss may go "That looks easy, I'm sure Joe from publicity could do that, why do we need you?" whereas if you code by hand then you boss will go "That looks horrible, sure is lucky we have you here!" Quote Link to post Share on other sites
Alexb 0 Posted February 20, 2008 Report Share Posted February 20, 2008 Italian too has its accented characters, I'm just trying php and I find very perplexing that two different implementations of php (one on a free website, one in my drive pen where a PAMPA pre-configured WAMP works very well...) give different results from the same code.... is there some php.ini setting to set? I'm just studying php string functions about html entities - you English speaking guys are SO lucky... Quote Link to post Share on other sites
justsomeguy 1,135 Posted February 20, 2008 Report Share Posted February 20, 2008 There are plenty of settings in php.ini that control various things, you can find a list of all of them here:http://www.php.net/manual/en/ini.phpThe specific options to check will depend on whatever code you're using. Quote Link to post Share on other sites
vchris 3 Posted February 21, 2008 Report Share Posted February 21, 2008 I deal with accents all the time since I work in a bilingual environment. I use dreamweavers design mode when pasting text to convert all accents. I also use Macromedia Homesite 5, there is a function to replace all extended characters. Quote Link to post Share on other sites
jeffman 86 Posted February 21, 2008 Report Share Posted February 21, 2008 you English speaking guys are SO lucky... Speaking English is easy. It's being a world superpower that we Americans are so bad at . . . Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.