LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   French accented characters appear Chinese, apache 2.0.48/suse 9.0 (https://www.linuxquestions.org/questions/linux-software-2/french-accented-characters-appear-chinese-apache-2-0-48-suse-9-0-a-401169/)

dlublink 01-09-2006 08:27 AM

French accented characters appear Chinese, apache 2.0.48/suse 9.0
 
Hi!

I am running a webserver and I am making it bilingual (half the people coming to my marriage don't speak a word of english, the other half don't speak a word of french). I am programming the site using PHP and HTML. I am using vi as the editor. When I enter an accented character with VI, it appears on the site as a chinese character.

Anyone know why? I know it has to do with the character set and I tried using the <meta equiv tag to specify the charset but that didn't seem to work.

If all else fails, I will just have to resort to using HTML tags &acute; or something like that...

Any thoughts?

David

nx5000 01-09-2006 08:42 AM

My HTML programming is long behing me but I think you must use &acute;

dlublink 01-09-2006 02:18 PM

Quote:

Originally Posted by nx5000
My HTML programming is long behing me but I think you must use &acute;


Hey,

thanks. I did that and it worked. I was hoping there was an easier way.

I used a str_replace in PHP, it's a low volume site so it doesn't matter.

Thanks again,

David


All times are GMT -5. The time now is 06:05 AM.