php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28390 convert html code to ascii code
Submitted: 2004-05-14 00:26 UTC Modified: 2004-05-14 12:44 UTC
From: jpeng at numoda dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 4.3.6 OS: NT
Private report: No CVE-ID: None
 [2004-05-14 00:26 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-14 00:34 UTC] pxcz at seznam dot cz
see bug #11868
 [2004-05-14 00:43 UTC] jpeng at numoda dot com
Sorry, I didn't find that report.
closed.
Thanks a lot.
 [2004-05-14 12:44 UTC] derick@php.net
You didn't close it, so I did :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC