[eluser]Las3r[/eluser]
Hi there everyone,
For my website i basically have a lang.en.php file in root/translations/lang.en.php
I include this file in every controller, and it contains lines like:
Code:
define('WELCOME', 'Welcome back' );
define('ADMIN_PANEL_OVERVIEW','Administration panel overview');
define('NEWS_MANAGER','News Manager');
This works fine and it nicely shows me the actual text in the views when i load them.
HOWEVER:
In order to translate the admin panel to greek (utf-8), I tried to convert the lang.php document to utf-8 with notepad++, and uploaded it as lang.gr.php.
(note: If i don't change it to utf-encoded php file, the website will show trash, regardless of a header content type set as utf-8 or not (!)).
With the identical file (but UTF-8 rather than ANSI) Codeigniter spits me the message "Warning headers already sent" on a redirect-page. Wtith the exact same file in english but ANSI this doesn't happen.
Does anyone has any idea how this comes, and how can I can find a solution for this other than:
Code:
ΘΘΙΞΞ
ΘΘΙΞΞ
Regards,
Erik