views:

158

answers:

2

Hi, I want to create my C++ libraries with Unicode support so they can be reused on other platforms. I have found the ICU (International Components for Unicode) project but I also found a discuss about Apple rejecting for using ICU (see http://tinyurl.com/y86phfb). So how do you guys use Unicode in C++ on iPhone? Thanks.

+1  A: 

The iPhone uses ICU internally. Check About»Legal.

Steven R. Loomis
+2  A: 

What do you want to use, in Unicode? If you want to manipulate Unicode strings and format or parse things according to a locale, the standard APIs should be enough: std::wstring, std::locale, iconv(), etc…

jcayzac
Also note the ObjectiveC String object can load from, and save to, UTF-8 buffers.
jcayzac