Hello, I have a problem with using French and a UTF-8 encoding. It doesn't display some characters, such as é in dates; e.g. it displays 21 f�v 2008 instead of 21 fév 2008. You can see it live here: http://fr.tibiaml.com/ at the news at the bottom of the page. Anyone knows what to do?
save document in UTF-8 without BOM. UTF-8 with BOM creates invisible character on top of your document so you get error 'headers already send'
omg i had this problem for so long until i decided one day to change the php filename to .phps, and then run it in a browser; to my horror there it was, an invisible number of 'invisible' characters at the beginning!! too bad i hadn't found this post about 3 months ago... :lol:
no, you have to change the filetype (you can't change the extension since it is .php??). make sure you make the file in notepad to start off with (some text editors can save as utf-8 format which screws up the headers and other stuff). i just changed it to .phps so i could view it as source code in my browser.
But I saved it as utf-8 using notepad and it added those invisible characters. How can I get rid of them?