How to rule all Char-Sets with mySQL/Unicode
Posted by: Haberg
Date: February 21, 2006 04:16AM

My approach:

Currently we still use mySQL 3.X with some PHP-Applications. All stored text
in mySQL is of course ISO-8859-1 (Latin1).

Now we need to move up and open our apps. to german, russian, chinese,... users.

As we know they all have different default char-sets Win1252, Win1251, Big-5,....

... which should be stored in the same table columns of our application databases.

In my opinion the only solution will be:

Because we cannot store different char-sets in the same tablecolumn, we have to use UTF-8 on the Database:

- Move to MySQL 4.1
- Convert the existing data to UTF-8
- USE “SET NAMES UTF-8” on all connections
- Set the default char-set of the php-Application to UTF-8

I’m not sure about the client side (Browser). UTF-8 is therefore needed to be installed? Does it come with all OS?

Thanks for all help.

Options: ReplyQuote


Subject
Views
Written By
Posted
How to rule all Char-Sets with mySQL/Unicode
3082
February 21, 2006 04:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.