render - encoding problems [solved]

I have referred to cookbook on solving special symbols localization problems, and after changing any of main files eg. index.php (main) GD captcha stops working, and IE stops recognizing .css files, I believe this could be overall render problem. What solution could be in this case(use of special characters in each page)?

Detailed problem stated here: http://www.yiiframework.com/forum/index.php?/topic/6283-localizing-yii/

Thanks in advance!

==============

Solution: http://www.yiiframework.com/forum/index.php?/topic/6283-localizing-yii/

I have updated problem with pictures of internationalization and localization issue. Please refer to: http://www.yiiframework.com/forum/index.php?/topic/6283-localizing-yii/

Thank You!

Just add on your ‘rootApp/protected/config/main.php’ the correct charset of your app on the root of the return array, like that:

‘charset’=>‘iso-8859-1’,

So change your main layout to use the charset off your app, changing the meta tag of header section:

<meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::app()->charset ?>" />

And your problems are solved, without need to do conversions and etc.

Bye!