#28390 [NEW]: convert html code to ascii code
| From: | jpeng at numoda dot com | Date: | Thu, 13 May 2004 22:26:45 +0000 |
| Subject: | #28390 [NEW]: convert html code to ascii code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59602@lists.php.net to get a copy of this message | ||
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 á is 'á'. (ß 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