denishuahin Posted July 31, 2009 Share Posted July 31, 2009 I'm not tec but trying to help my son on a Thai / English website all the web front end is working fine in Thai and english but one part in admin the configuration cannot be read in english but ok in Thai after uploading the Thai pack. It shows coding like this ª×èͧ͢à¨éҢͧÃéÒ¹¤éÒ all other areas it's ok. Quote Link to comment Share on other sites More sharing options...
multimixer Posted July 31, 2009 Share Posted July 31, 2009 What admin part? What is written in the browser line when this character appear? Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
denishuahin Posted July 31, 2009 Author Share Posted July 31, 2009 What admin part? What is written in the browser line when this character appear? This is what it looks like. If you click any link under Administrators you get the same, If you login in Thai it's perfect in Thai but is what show if login in english. Configuration Administrators ÃéÒ¹¢Í§©Ñ¹ ¤èÒµèÓÊØ´ ¤èÒÊÙ§ÊØ´ ÀÒ¾ ÃÒÂÅÐàÍÕ´ÅÙ¡¤éÒ ¡ÒÃÊè§/ËÕºËèÍ ÃÒ¡ÒÃÊÔ¹¤éÒ ¤ÅѧÊÔ¹¤éÒ ºÑ¹·Ö¡¡ÒÃãªé§Ò¹ ᤪ ÍÕàÁÅ ´ÒǹìâËÅ´ ¡ÒúպÍÑ´ ____________________________________________________ Sessions everthing below here is working fine in Thai and English. Catalog Modules Customers Locations / Taxes Localization Reports Thanks for getting back tpo me so quick. Denis Quote Link to comment Share on other sites More sharing options...
multimixer Posted July 31, 2009 Share Posted July 31, 2009 Try following: Take the file admin/includes/languages/english.php Find the 2 lines as below and make them to look like here setlocale(LC_TIME, 'en_US.utf-8'); define('CHARSET', 'utf-8'); Change the encoding of the file to be utf-8 Check the entries of the file example define('BOX_CONFIGURATION_CACHE', 'Cache'); does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹" Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
denishuahin Posted July 31, 2009 Author Share Posted July 31, 2009 Try following:Take the file admin/includes/languages/english.php Find the 2 lines as below and make them to look like here setlocale(LC_TIME, 'en_US.utf-8'); define('CHARSET', 'utf-8'); Change the encoding of the file to be utf-8 Check the entries of the file example define('BOX_CONFIGURATION_CACHE', 'Cache'); does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹" Quote Link to comment Share on other sites More sharing options...
denishuahin Posted July 31, 2009 Author Share Posted July 31, 2009 Thanks I'll give this info to my son, and if it works thanks if if don't thanks also. I'll let you know the result, maybe monday as it's party time now. Denis Quote Link to comment Share on other sites More sharing options...
denishuahin Posted August 3, 2009 Author Share Posted August 3, 2009 Hi My son tried the fix, it changed it but still not to english it now looks like this. Configuration Administrators ��ҹ�ͧ�ѹ ��ҵ���ش ����٧�ش �Ҿ ��������´�١��� ������/�պ��� ��¡���Թ��� ��ѧ�Թ��� �ѹ�֡�������ҹ ᤪ ����� ��ǹ���Ŵ ��úպ�Ѵ GZip Sessions instead of this "ÃéÒ¹¢Í§©Ñ¹" He's still trying Try following:Take the file admin/includes/languages/english.php Find the 2 lines as below and make them to look like here setlocale(LC_TIME, 'en_US.utf-8'); define('CHARSET', 'utf-8'); Change the encoding of the file to be utf-8 Check the entries of the file example define('BOX_CONFIGURATION_CACHE', 'Cache'); does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹" Quote Link to comment Share on other sites More sharing options...
multimixer Posted August 3, 2009 Share Posted August 3, 2009 How do the entries in the file look like, after the file encoding it self was set to be utf-8? Did you try to rewrite 1 or 2 of them to see how they look after in the browser? Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
denishuahin Posted August 3, 2009 Author Share Posted August 3, 2009 I have given my son your I.D so he can talk direct to you. Thanks for your help How do the entries in the file look like, after the file encoding it self was set to be utf-8? Did you try to rewrite 1 or 2 of them to see how they look after in the browser? Quote Link to comment Share on other sites More sharing options...
cybercat Posted August 4, 2009 Share Posted August 4, 2009 How do the entries in the file look like, after the file encoding it self was set to be utf-8? Did you try to rewrite 1 or 2 of them to see how they look after in the browser? Hi Multimixer Hugh here.. Thanks for your help with this I have changed the two lines and set encoding to UTF-8 The code now looks like this: setlocale(LC_TIME, 'en_US.utf-8'); define('CHARSET', 'utf-8'); define('BOX_HEADING_CONFIGURATION', 'Configuration'); Also changed encoding of the page "english.php" in dreamweaver. Not sure what you mean by this" Did you try to rewrite 1 or 2 of them to see how they look after in the browser?" But the charactors in configuration have changed but are still unreadable......... ���������������ʧ���͡����͡��?? ?���� true ��ҡ�ä������»����� ��������������Ѿ���ͧ��ҹ��� Store Name Address Country Phone �ʴ��ӹǹ��Ǵ���� false ���˹觷ȹ����ͧ���� 0 �ʴ��ҤҾ�������� true Template Switching Allowed true Thanks in advance for your advice Hugh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.