Problem with SQL Server.
| From: | Juan Torres | Date: | Fri, 13 Feb 2004 11:36:17 +0000 |
| Subject: | Problem with SQL Server. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32929@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.