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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
1 + 33 = ?
Subscribe to this entry?

 
 [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: Tue Feb 18 22:01:29 2020 UTC