Warning error

horiah

Avatar: horiah

2010-10-22 12:38

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/public/www/cart/lang/en.php:1) in /htdocs/public/www/cart/index.php on line 20

Hi,

This error happen every time I try to convert the language file to UTF-8

So, it goes like this:

When I install the site everyting is fine. Then I have edited the En.php and translate it to portuguese and save the file. When I execute the site all special characters are wrong, so I save the file from ascii to utf-8. After doing this all special character are ok, but the worning message show on the site. I f I revert back and sabe the file as Ascii, the worning message don't show, but the text as all the special characters wrong.

How can I have the language file saved in UTF-8 without the warning message?

Thanks

» Quick.Cart v3.x

beholder

Avatar: beholder

2010-10-22 18:34

what editor are you using?

Because UTF-8 with BOM could do this kind of mess.. Try saving with Notepad++ and convert/save it as UTF-8 without BOM.

Back to top
about us | contact