Problem with SQL Server.
| From: | Juan Torres | Date: | Thu, 12 Feb 2004 15:14:35 +0000 |
| Subject: | Problem with SQL Server. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177522@lists.php.net to get a copy of this message | ||
Hello,
I'm working with a DB SQL Server. This DB has a table with Japanese
characters.
When I read a field (with Japanese characters) with function
mssql_fetch_array(), always it return characters '?'.
If I put 'print("(Japanese characters)");', these Japanese characters are
shown correctly.
My PHP file has follow code to work with Japanese characters:
mb_internal_encoding("EUC-JP");
mb_http_output("EUC-JP");
mb_http_input("EUC-JP");
mb_language("Japanese");
My question: How can I show correctly the Japanese characters from a SQL
Server DataBase?
Thanks very much!
Juan Torres.