Hi, All
I design a website using Utf-8. I use PHP and Mysql. Version Mysql 4.0.12-max-debug for Win95/Win98 on i32. But I want to convert Mysql data to Sql server 2000. I want to store utf-8 data in sql server. Unfortunately SQL server2000 and access use i different Unicode encoding (UCS-2) and do not recognize UTF-8 as valid character data.
I tried mb_convert_string of PHP
mb_convert_encoding($str, "UCS-2", "UTF-8");
However, result of this function is not good.
How do i convert utf-8 to ucs-2 and vice versa? Can I help you an algorithm convert utf-8 to ucs-2 and vice versa?
Sorry, my English is not well.
Thanks for all your help