ID: 21276 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: windows xp PHP Version: 4.3.0 New Comment:
This is not a bug but a feature. The Microsoft library (DBLIB) detects the context it is used in. Calling a php script using the cli version of PHP uses the default codepage for a DOS box (437 for US). If the same script is called from CGI or ISAPI it will use the Ansi codepage (1252 or whatever your system is configured for). Previous Comments: ------------------------------------------------------------------------ [2002-12-29 17:54:45] [EMAIL PROTECTED] This bug occurs with php-cli sapi and mssql module (under windows xp pro and with adodb lib): if i can't use sql query like insert with accent(יאט#...etc) ! The same things work well with odbc module. There is the same charset bug with stdout under winxp. thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21276&edit=1