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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jpeng at numoda dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon May 06 17:01:34 2024 UTC