htmlnewbie23 Posted November 15, 2007 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? Link to comment Share on other sites More sharing options...
Ingolme Posted November 15, 2007 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. Link to comment Share on other sites More sharing options...
htmlnewbie23 Posted November 15, 2007 Author 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? Link to comment Share on other sites More sharing options...
Ingolme Posted November 15, 2007 Share Posted November 15, 2007 Yes, that character encoding will display the characters correctly. You don't need to use entities. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 15, 2007 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. Link to comment Share on other sites More sharing options...
Synook Posted November 16, 2007 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) Link to comment Share on other sites More sharing options...
justsomeguy Posted November 16, 2007 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.. Link to comment Share on other sites More sharing options...
Synook Posted November 17, 2007 Share Posted November 17, 2007 Oh right lol I get it now Link to comment Share on other sites More sharing options...
javaholic5 Posted November 19, 2007 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) Link to comment Share on other sites More sharing options...
javaholic5 Posted November 19, 2007 Share Posted November 19, 2007 Oh right lol I get it now It took me a while as well. Link to comment Share on other sites More sharing options...
Synook Posted November 20, 2007 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!" Link to comment Share on other sites More sharing options...
Alexb Posted February 20, 2008 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... Link to comment Share on other sites More sharing options...
justsomeguy Posted February 20, 2008 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. Link to comment Share on other sites More sharing options...
vchris Posted February 21, 2008 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. Link to comment Share on other sites More sharing options...
jeffman Posted February 21, 2008 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 . . . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.