Bug #51321 [Opn]: shows same ascii for two diferent french characters
| From: | sharad dot tale at gmail dot com | Date: | Thu, 18 Mar 2010 11:14:11 +0000 |
| Subject: | Bug #51321 [Opn]: shows same ascii for two diferent french characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148735@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51321&edit=1
ID: 51321
User updated by: sharad dot tale at gmail dot com
Reported by: sharad dot tale at gmail dot com
Summary: shows same ascii for two diferent french characters
Status: Open
Type: Bug
Package: *General Issues
Operating System: windows xp
PHP Version: 5.3.2
New Comment:
Expected result:
----------------
Ascii for char1 is = 224
Ascii for char2 is = 195
Actual result:
--------------
Ascii for char1 is = 195
Ascii for char2 is = 195
Previous Comments:
------------------------------------------------------------------------
[2010-03-18 12:12:11] sharad dot tale at gmail dot com
Description:
------------
shows same ascii for two different french characters
Test script:
---------------
<?php
$char1="Ã ";
$chart2="Ã";
echo "Ascii for char1 is =".ord($char1);
echo "<br/>";
echo "Ascii for char2 is =".ord($char2);
?>
Expected result:
----------------
Ascii for char1 is = 224
Ascii for char1 is = 195
Actual result:
--------------
Ascii for char1 is = 195
Ascii for char1 is = 195
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51321&edit=1