Jump to content
Sign in to follow this  
NerioDavid

Is it the right method to convert osc to UTF-8?

Recommended Posts

I have posted this question a few days ago. In order to avoid duplicate post, here is the link to my question:

 

http://forums.oscommerce.com/index.php?showtopic=270305

 

Or, if someone can, it may be better to moved it here.

Please if some of you can tell me what I thought is right or not?

Thanks.

 

I am using Serbian translation for my oscommerce done by me! And in order to work it had to be converted to utf-8 but you have to convert all lenguage files and all your files in root.

This is the way how I did it and it functions, additionaly you will have to change some coding in yourlanguage.php,

// look in your $PATH_LOCALE/locale directory for available locales
// or type locale -a on the server.
// Examples:
// on RedHat try 'en_US'
// on FreeBSD try 'en_US.ISO_8859-1'
// on Windows try 'en', or 'English'
@setlocale(LC_TIME, 'en_US.ISO_8859-1');

This shoul reflect your coding

Share this post


Link to post
Share on other sites
I am using Serbian translation for my oscommerce done by me! And in order to work it had to be converted to utf-8 but you have to convert all lenguage files and all your files in root.

This is the way how I did it and it functions, additionaly you will have to change some coding in yourlanguage.php,

// look in your $PATH_LOCALE/locale directory for available locales
// or type locale -a on the server.
// Examples:
// on RedHat try 'en_US'
// on FreeBSD try 'en_US.ISO_8859-1'
// on Windows try 'en', or 'English'
@setlocale(LC_TIME, 'en_US.ISO_8859-1');

This shoul reflect your coding

 

Thanks for the replying, Milutin.

 

Could you tell me what I can find a complete list of ISO code, e.g, America English is , en_US.ISO_8859-1?

And, can I set the mysql 4.0.16 use UTF-8 collation?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×