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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC