UTF-8 Problem

e107 CMS » Forums » Miscellaneous » Translations << Previous thread | Next thread >>
Aidus
Jun 07 2006, 02:29AM
Registered Member #22657
Joined: Nov 28 2005, 12:54AM
Posts: 19
Hi.
Im having one problem with chars a=ā s=š and c=č and z=ž

Changed English.php file:
setlocale(LC_ALL, 'lv_LV.UTF-8');
define("CORE_LC", 'lv');
define("CORE_LC2", 'lv');
// define("TEXTDIRECTION","rtl");
define("CHARSET", "LV.UTF-8");  // for a true multi-language site. <img src='http://e107.org/e107_images/emotes/MSN_Crystal_Matte/regular.png' alt='' style='vertical-align:middle; border:0' /> 


How I must define charset correctly? lv_LV.UTF-8 ? or just UTF-8 Please help.

Go to top
Hansi64
Jun 07 2006, 02:52AM
Registered Member #19745
Joined: Jul 31 2005, 04:07AM
Posts: 406
Try this

setlocale(LC_ALL, 'lv_LV');
define("CORE_LC", 'lv');
define("CORE_LC2", 'lv');
// define("TEXTDIRECTION","rtl");
define("CHARSET", "utf-8"); // for a true multi-language site.
[ Edited Jun 07 2006, 02:53AM ]
Go to top
Aidus
Jun 07 2006, 03:18AM
Registered Member #22657
Joined: Nov 28 2005, 12:54AM
Posts: 19
There is no any changes when using setlocale(LC_ALL, 'lv_LV'); or lv_LV.UTF-8
Go to top
Aidus
Jun 07 2006, 03:35AM
Registered Member #22657
Joined: Nov 28 2005, 12:54AM
Posts: 19
[-link-] there you can see that not all characters are incorrect. I don't think its a charset . . . problem. Probably problem is somewhere in core.
Go to top
Hansi64
Jun 07 2006, 05:19AM
Registered Member #19745
Joined: Jul 31 2005, 04:07AM
Posts: 406
The sitedown page is a know problem with charsets. However there is a solution for that and it should be fixed in the near future.
Go to top
Aidus
Jun 07 2006, 05:24AM
Registered Member #22657
Joined: Nov 28 2005, 12:54AM
Posts: 19
I have this problem in news too.
Go to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System