Giving Yi the weight it deserves

by Michael S. Kaplan, published on 2007/04/30 04:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/04/30/2335249.aspx


Bob Eaton asked over in the microsoft.public.win32.programmer.international newsgroup:

I'm trying to compare two Yi Unicode-encoded strings using lstrcmp (which
underlyingly uses CompareString).

But when I compare the two strings, lstrcmp always returns 0 as if they are
equal, even if they are not (e.g. (ua2d9) (ua2e0) vs. (ua2da) (ua2e0)).

I presume it's because the OS (XP Pro SP2) doesn't have collation tables for
Yi, but I thought I'd check if there was a work-around.

Bob

Sorry, Yi has no weight in any version of Windows prior to the latest one....

The only workarounds here are:

 

This post brought to you by (U+a2d9,a.k.a. YI SYLLABLE ZZAX)


no comments

go to newer or older post, or back to index or month or day