At 11:28 AM -0400 4/23/08, Robert William Vesterman wrote:
A little additional info: The "ASCII to ASCII"
case for "Minnie=Mouse" is merely because the
UTF-8 encoding for "Mouse" is the same as the
ASCII encoding for "Mouse", and
mb_detect_encoding is matching on ASCII before
UTF-8. So that's not an issue.
But, the "UTF-8 to ASCII" case for
"Minnie=Miñoso" is still (seemingly) screwy.
Going for "UTF-8 to ASCII" is not going to work.
The ASCII to UTF-8 works because ASCII is
contained within UTF8. But the reverse is not
true. Not all of UTF-8 is contained within ASCII.
For example, the character (code-point) ñ does
not appear in ASCII, so that doesn't work.
Cheers,
tedd
--
-------
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