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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: volpini at aesinet dot it
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Mon Mar 30 07:01:24 2020 UTC