From:             jpeng at numoda dot com
Operating system: NT
PHP version:      4.3.6
PHP Bug Type:     MSSQL related
Bug description:  convert html code to ascii code

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 bug report at http://bugs.php.net/?id=28390&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28390&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28390&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28390&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28390&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28390&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28390&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28390&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28390&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28390&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28390&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28390&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28390&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28390&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28390&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28390&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28390&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28390&r=float

Reply via email to