ywkyee Posted April 12, 2009 Posted April 12, 2009 Hello, i would like setup a osc with utf-8 with additional traditional/simpified chinese language as well as english, so where can i find useful information how to setup it ? eg i got a traditional languange pack, i knew to change includes/language/chinese.php define('CHARSET', 'utf-8'); but what about those file type under includes/language/chinese subdir? all files are defined those chinese string, but it is saved as text file type, so if encoding method set to utf-8, it is displayed wrongly of those chinese string.. appreciate for any expret give me some hints about it. many thanks/Davis.
ywkyee Posted April 12, 2009 Author Posted April 12, 2009 also do i need to save chinese language pack file to utf-8 file type in order display it well? thanks/Davis.
♥FWR Media Posted April 12, 2009 Posted April 12, 2009 Well I have no knowledge of the enormous Chinese language but I have converted a fork of osCommerce to UTF-8. I would suggest that the language file you ensure are saved as UTF-8 and that when the chinese language is chosen that the html charset is also changed to UTF-8. In addition see iconv and mb_string which are used (amongst other things) to change output, input and internal encoding. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
ywkyee Posted April 13, 2009 Author Posted April 13, 2009 hello, thanks for your feedback. yes, i tried changed those chinese language file saved as UTF-8, it is all fine to display in chinese...BUT...when render a page, there is always a "empty" space line on the top of each page, it look strange, which meant all my render page supposed display start from 0 x-axis and now all start from 10 x-aixs etc. hope you can get what i meant..:) thanks/Davis.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.