ID:               32796
 Updated by:       [EMAIL PROTECTED]
 Reported By:      leonardobasilio at ig dot com dot br
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: Windows 2003
 PHP Version:      Irrelevant
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Upper half of the characters table depends on character set.


Previous Comments:
------------------------------------------------------------------------

[2005-04-21 23:51:30] leonardobasilio at ig dot com dot br

Description:
------------
I'm working with PHP + SQL Server 7.0. When retrieving data with
characters like "�","�","�", they are changed into "�","�","�". Doing:

<?=chr("�")?>

I get 135, which, according to the ascii table indicated by the manual,
is "�", not "�".

Reproduce code:
---------------
<?

echo ord("�");

?>

Expected result:
----------------
I expected to get the right ascii code.

Actual result:
--------------
ord("�") is returning 231, while the ascii table says it should be 135.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32796&edit=1

Reply via email to