site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 2005-04-13 kl. 19.29 skrev David Hoerl: Does such a thing exist? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I am looking for a version of the string(3) library, but adapted for Unicode strings. [Ifound CFString but not clear if there is a one to one mapping of CFString functionality to string(3) functionality.] Am I missing something obvious (if so sorry!) The most portable way would be to use wchar. See wmemchr(3) and multibyte(3). It requires the locale to be sett correctly though, and typically work in UTF-32. If that's not what you're looking for you can use CFString or some third party library. Most work with a specific encoding, but there's probably several available for both UTF-8 and UTF-16. -- Pelle Johansson <morth@morth.org> This email sent to site_archiver@lists.apple.com
participants (1)
-
Pelle Johansson