Re: PHP, Unicode, SAPdb
| From: | Gary Ross | Date: | Sun, 09 Mar 2003 04:10:00 +0000 |
| Subject: | Re: PHP, Unicode, SAPdb | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-497@lists.php.net to get a copy of this message | ||
I think it is incorrect to say that MySQL doesn't support Unicode although it's support may not be complete yet. I have a multilingual site that has database information in Korean, Japanese and Chinese without problems. I just put utf-8 encoding and it works fine, make sure mysql is compiled with the language complex flag.
Gary
On Sunday, March 9, 2003, at 02:16 am, Nino Katic wrote:
Hi, I'm new to this list, and I'm also new to i18n. I'm developing some web site and i want to make it i18n. Basicly I want user to have all their country specific charaters displayed correclty. Here, there are two problems. One is dealing with DB and the other with PHP. Firstly I tried with MySQL but when I saw it doesn't support unicode i gave up and switched to SAP db. SAP db has unicode support BUT i can't make it sort country specific characters right. I'm told that this is not possible to do on a server side and to make it on client. Is this right? Secondly, i don't know what i need to do to display that unicode data from SAP db using php? I tried playing a liitle with those mb_string functions and settings, but unsuccesfull. For example if i want to echo the word begining with some croatian specific characters it displayes me "k" ??? So, my general question would be how to deal with that display from php, and how with sort of country specific characters? Tnx. Nino -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php