note 43354 added to function.ord

From: Date: Fri, 18 Jun 2004 12:23:26 +0000
Subject: note 43354 added to function.ord
Groups: php.notes 
Request: Send a blank email to php-notes+get-71287@lists.php.net to get a copy of this message
In reply to jacobfri, the range 128-255 equals to whatever character set you are using. Try toying with header('Content-type: text/html; charset=iso-8859-1'); and replacing that iso-8859-1 with values like cp850, and suddenly your bytes might start looking surprisingly similar to the ones at www.asciitable.com. Strings don't store glyphs. They only store bytes. It's the matter of your UA/terminal of deciding what alphabets those bytes are made to look like. That's where the character set/encoding steps in. ---- Manual Page -- http://www.php.net/manual/en/function.ord.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43354 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43354&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43354&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71287) next »