#20929 [Fbk->Opn]: Problem in handling big5 characters from HTML form
| From: | xp2002 at hkedcity dot net | Date: | Thu, 12 Dec 2002 01:36:38 +0000 |
| Subject: | #20929 [Fbk->Opn]: Problem in handling big5 characters from HTML form | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27441@lists.php.net to get a copy of this message | ||
ID: 20929
User updated by: xp2002@hkedcity.net
Reported By: xp2002@hkedcity.net
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Redhat Linux 7.2
PHP Version: 4.2.3
New Comment:
I have tried the latest PHP CVS 4.4.0-dev(200212120030).
The problem still exist. All "big 5" characters from HTML form POST/GET
are always converted to HTML codes. No function can be used to convert
HTML codes back to "big 5" characters.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2002-12-10 22:40:04] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-12-10 21:43:15] xp2002@hkedcity.net
1. When I use $_REQUEST, $_POST, $_GET to retrieve the data of a HTML
form, all "big5" characters will be changed to some HTML codes (e.g.
"$#20806"). Although these HTML codes can be displayed correctly in
browsers, I cannot convert them back to "big5" code.
With PHP4.2.3 on Apache 1.3.27, there is no problem. PHP can retrieve
"big5" characters from HTML form.
2. The "htmlentities" function does not correctly convert "big5"
characters to html codes. Wrong html codes are generated and cannot be
correctly displayed in browser.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20929&edit=1