Hey , i've translate one of my Website to French Version , i did that on my first VPS and works well ......But when i bought the second VPS to host my Website there i've got some words are showing as QUESTION INSIDE THE DiAMOND ( ex : t�l�charger ) . i don't know why , the same code and the same PHP version Please can anyone Help me ? Code : <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <meta http-equiv = "content-language" content = "fr"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" /> PHP:
where is your data comes from, a database ? if yes use the htmlentites function and add the charset code as a parameter check HTMLEntities at php.net if it's a static text try to use the iconv function and also pass the french charset to it iconv("charset-french","UTF-8","{$yourtextvar}");