#28390 [Opn->Bgs]: convert html code to ascii code

From: Date: Fri, 14 May 2004 10:44:22 +0000
Subject: #28390 [Opn->Bgs]: convert html code to ascii code
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59615@lists.php.net to get a copy of this message
ID: 28390 Updated by: derick@php.net Reported By: jpeng at numoda dot com -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: NT PHP Version: 4.3.6 New Comment: You didn't close it, so I did :) Previous Comments: ------------------------------------------------------------------------ [2004-05-14 00:43:29] jpeng at numoda dot com Sorry, I didn't find that report. closed. Thanks a lot. ------------------------------------------------------------------------ [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 (#59615) next »