note 43354 deleted from function.ord by danbrown
| From: | danbrown@php.net | Date: | Tue, 11 Oct 2011 16:16:16 +0000 |
| Subject: | note 43354 deleted from function.ord by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183809@lists.php.net to get a copy of this message | ||
Note Submitter: bisqwit at iki dot fi
----
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.