#21276 [Opn->Bgs]: cli and mssql charset pb

From: Date: Sun, 09 Feb 2003 07:05:06 +0000
Subject: #21276 [Opn->Bgs]: cli and mssql charset pb
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32542@lists.php.net to get a copy of this message
ID: 21276 Updated by: fmk@php.net Reported By: a.benoit@alpi.fr -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] a.benoit@alpi.fr 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

« previous php.bugs (#32542) next »