ODBC with SQL Server

From: Date: Fri, 13 Feb 2004 12:13:36 +0000
Subject: ODBC with SQL Server
Groups: php.db 
Request: Send a blank email to php-db+get-32931@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.

« previous php.db (#32931) next »