multilanguage problem with load->view and lang() |
[eluser]Ludwig Mair[/eluser]
Hi there, i try to develop a multilangual page with codeigniter. when i insert for example russian or czech in my default template displayed with load->view in my controller everithing is ok. but when i use <?= lang('nav.register') ?> or <?=$this->load->view($left)?> in the default template , the characters are shown as ????????. i dont know waths wrong. has anybody a idea what i do wrong? i am very thankful for any help Ludwig
[eluser]umefarooq[/eluser]
if you languages support UTF-8 then check the following have you set charset of html page to UTF-8 or not if not then set it to UTF-8 and if you are getting record from database check the charset of database also is it UTF-8 read this article will help you more http://philsturgeon.co.uk/news/2009/08/U...odeIgniter
[eluser]Ludwig Mair[/eluser]
Hi, i have tryed yesterday a lot and found out that the issue is in my case dreamweaver. if i create a php file for the lang file like xy_lang.php, the characters do mot get saved right. if i just copy the original lang file and insert some text the text will show up properly. thanks a lot for your help anyway Ludwig |
Welcome Guest, Not a member yet? Register Sign In |