On Wednesday 11 July 2007, Richard Lynch wrote: > And did I dream the thread on this way back when where it was stated > that Unicode was backwards-compatible, so this wouldn't be a problem? > > Yet now it seems that UTF-16 is *not* backwards-compatible, and this > seems like a pretty big problem to me. > > Oh well. I guess I'll just shut up and hope most of my code doesn't > break when I go copying/pasting it into new sites that are locked into > Unicode mode with no way for me to change that...
AFAIK, UTF-8 is backward compatible with ASCII. UTF-16 is not. That's why Microsoft defaults to UTF-16 (when they don't default to Windows-1251 or whatever crap it is) and the rest of the universe (at least the parts of it that I've seen) defaults to UTF-8. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php