#28390 [Opn]: convert html code to ascii code

From: Date: Thu, 13 May 2004 22:43:30 +0000
Subject: #28390 [Opn]: convert html code to ascii code
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59605@lists.php.net to get a copy of this message
ID: 28390 User updated by: jpeng at numoda dot com Reported By: jpeng at numoda dot com Status: Open Bug Type: MSSQL related Operating System: NT PHP Version: 4.3.6 New Comment: Sorry, I didn't find that report. closed. Thanks a lot. Previous Comments: ------------------------------------------------------------------------ [2004-05-14 00:34:28] pxcz at seznam dot cz see bug #11868 ------------------------------------------------------------------------ [2004-05-14 00:26:44] jpeng at numoda dot com Description: ------------ My Php is 4.3.6, under Apache server. When I do a selection from MSSQL2000 server, if there is a char like 'ß' in a field, after selection, it comes to 'á'. I notice extended ascii code for 'ß' is 225, while html code &#225 is 'á'. (&#223 is 'ß'. html code id different from ascii code after 127) It looks like mssql_query() will convert all html code (>127) to extended ascii code. I don't know this is a bug or some hiddden setting for this situation. BTW, I use VB to do the same selection, it display the correct 'ß'. Thanks. jianbo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28390&edit=1

« previous php.bugs (#59605) next »