Welcome Guest, Not a member yet? Register   Sign In
Language file in utf-8 and header problem
#1

[eluser]Unknown[/eluser]
Hi!

I have this problem when I created language file and make it utf-8 encoding (as I have on my web) it gives me $this:

Quote:A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\Program Files\XAMPP\xampp\htdocs\noted\application\language\polish\core_lang.php:1)

Filename: libraries/Session.php

Line Number: 662

When I change encoding to ANSI it goes clear and well (but i haven't special language signs)... how can I make my file utf-8 without error?

thank you in advise for an answare.

regards,
newicz
#2

[eluser]WanWizard[/eluser]
What editor do you use to edit the php files? Make sure the files aren't saved with a UTF-8 BOM header...
#3

[eluser]Unknown[/eluser]
I maked it with notepad... I will try other converters
#4

[eluser]WanWizard[/eluser]
have a look at http://sixrevisions.com/tools/12-excelle...or-coders/

I used to use UltraEdit on Windows (before baning Windows in this house... Wink)




Theme © iAndrew 2016 - Forum software by © MyBB