The localization saga continues...
So I'm trying to support collation of chinese text in my iPhone app, and after talking to a native chinese speaker, I think I understand how the chinese do it...
Lets say you had the string 巴拉克·奥巴马 and you wanted to figure out which section of the chinese phonebook to put it in (in this example I'm ignoring firstname/lastname and just using the first character of the string)...
First you transliterate it into pinyin, which gives you "balake aobama" Then you collate based on the first character of that string: "b"
So the question is, how can I go from 巴拉克·奥巴马 to balake aobama using the iPhone SDK? It looks like the ICU library, which ships on the phone, can do this kind of transliteration, but I'm not sure if I can use it easily from my code, and even if I can, I don't know if the transliteration stuff is included in the build of ICU that comes on the phone.
If ICU is a no-go, does anyone have any better ideas?