At 11:27 AM -0800 1/2/08, Jim Lucas wrote:
Note: You might wonder why trim(html_entity_decode(' '));
doesn't reduce the string to an empty
string, that's because the ' ' entity is not ASCII code 32
(which is stripped by trim()) but
ASCII code 160 (0xa0) in the default ISO 8859-1 characterset.
Ah, that answers a question I posed last week about a gremlin
appearing in a string. In a text file,via a Hex Editor it was 0A, but
on the server it was 160 with some other character. Now, it makes
sense.
Thanks,
ted
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php