When I get content by file_get_contents from url: http://www.frequenceoptic.fr/actualites/serengeti-glamattitude.html
I got string in php "Jeudi, 26 Août 2010 13:26". Characters in month is incorrect.
On html page specified:
My system windows 7. Php.ini output: http://pastebin.com/HJvinbtm
You've got a UTF-8 encoded string, which would decode to Jeudi, 26 Août 2010 13:26
Make sure your page also indicates it uses UTF-8 - see <meta charset="utf-8"> vs <meta http-equiv="Content-Type"> for some techniques. Alternatively, you can decode to ISO-8859-1 with utf8_decode() , but really, you should get comfortable with using UTF-8 these days :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.