On Thursday 01 February 2007 06:45, Brion Vibber wrote:
Nino Novak wrote: [...]
First, use the real รณ character, not ó
Second, save the file as UTF-8.
cool, this works!
Third, make sure there isn't a hidden "BOM" character at the start of the file after you save it -- Windows Notepad will insert this when you save a file as Unicode, but it will mess up some things (broken RSS feeds, broken caching, possibly visible error messages). I recommend using a programming editor such as jEdit which allows saving as UTF-8 without the BOM character.
I'm working with vi - and this worked w/o problems ;-)
(Sorry for the BOM problems, but this is an issue with how PHP handles files.)
The meta instruction says "Do not save LocalSettings.php as Unicode, because PHP cannot handle it" - so is there any possibility to get things done?
Some editors such as Notepad mark simply "Unicode" for UTF-16, a form of Unicode text which is basically wildly incompatible with everything. ;) Most Internet-friendly Unicode usage is done in the UTF-8 encoding.
ok, thanks for the explanation! I added it to the instructions in meta.
Regards, Nino