php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10061 bad interpretation of ascii char #0146
Submitted: 2001-03-29 12:01 UTC Modified: 2001-04-29 11:52 UTC
From: volpini at aesinet dot it Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0.4pl1 OS: windows, linux
Private report: No CVE-ID: None
 [2001-03-29 12:01 UTC] volpini at aesinet dot it
Create a form with a textarea and type into the char #0146;
when you submit the form, the php file echo a wrong character.

Code of the PHP file:
----------------------
#!/usr/local/bin/php
<?
  echo $text;
?>
----------------------

When I insert in form the ascii char ? (code #0146) the Php
engine returns the ascii char "?" (code #63).

Configure line PHP:
----------------------
./configure --enable-discard-path --with-gd --with-zlib
--with-mysql=/user --with-socket --enable-trans-sid
--with-mm=/usr/local/lib


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 12:16 UTC] hholzgra@php.net
i guess this is done by the browser,
not php on the server

please try to code your form with
method="GET" and have a look at what
character is transfered in the URL
 [2001-04-29 11:52 UTC] jmoore@php.net
No feedback.

closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 01:01:28 2024 UTC