Forums / Cotonti / Bugs / tiny bug in 0.0.6

tensh
#14548 2009-07-19 21:51
Check thoroughly header.tpl (because I think header.tpl is a traitor here) for hard-coded text (everything should be in lang file). Save it in ANSI coding or UTF-8.

Then check ALL your lang files (in system folders, skin and plugins) for BOM marks. You can do it by:
1. Upload Total commander (www.ghisler.net)
2. Compare lang file with any other file by the tool "Compare by content" (In File menu)
3. Press "edit mode" and delete BOM mark (stupid hash before <?PHP>), then press X (close), and when it asks you whether save the file, click "save".

Alternatively, download Notepad++ (google it) and save every file as "UTF-8 without BOM".
I spot BOMs by Total Commander, you'll actually see them :)

In normal notepad, you're not able to spot BOM mark.

I had something like this before, the problem in my case were exactly bom marks in lang files. They can mess the design a lot, the more them the worse. :P