trouble changing language file

Having trouble installing serendipity?
Post Reply
illusie
Posts: 2
Joined: Fri Jun 29, 2007 5:10 pm
Location: netherlands
Contact:

trouble changing language file

Post by illusie »

in serendipity I use a dutch language file in de 'lang' directory and in the subdirectory UTF-8. in the admin section I chose UTF-8 for the translation of special characters.
no problem so far.
now I make changes in the dutch translation because I'm not fully satisfied.
but the new file 'serendipity_lang_nl.inc.php' in the UTF-8 folder causes the following text-warning on top of my admin-pages:

[quote]
Warning: Cannot modify header information - headers already sent by (output started at /home/www/illusie/illusie/fotoblog/lang/UTF-8/serendipity_lang_nl.inc.php:1) in /home/www/illusie/illusie/fotoblog/serendipity_admin.php on line 11
[/quote]

what's wrong?
how can I solve the problem?

regards,
jan van de ven
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: trouble changing language file

Post by garvinhicking »

Hi!

You must instruct your editor to NOT save "UTF-8 BOM" byte order marks inside the language file. Those are causing "invsible characters" that PHP can't deal with.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply