From: Yukihiro Matsumoto Date: 2005-01-14T00:31:14+09:00 Subject: Re: The face of Unicode support in the future In message "Re: The face of Unicode support in the future" on Fri, 14 Jan 2005 00:15:39 +0900, Eivind Eklund writes: |> Can you imagine any edge case? | |Yes. I'll use one that has bit me in other directions: Input comes from |a database and a web form. The subsystems provide strings with different |encoding. During tests, programmers use english for testing (most |programmers I know prefer using english for all code development including |tests, even if their native language is norwegian/german/etc). The tests |work correctly. When the system is set in production, things start to |fall apart. Hmm, interesting case. Let me think about it. By the way, the comparison rule I described was wrong. It should be: > the comparison of two string with different encoding is always false > unless: > > * the encoding of one string is ASCII > * the encoding of other string is ASCII compatible > * they have same (7 bits) ASCII character sequence that means comparison between two strings with non-ASCII encoding always gives false. matz.