Re: Unicode string(3) library?
Re: Unicode string(3) library?
- Subject: Re: Unicode string(3) library?
- From: Pelle Johansson <email@hidden>
- Date: Tue, 19 Apr 2005 16:40:30 +0200
2005-04-13 kl. 19.29 skrev David Hoerl:
I am looking for a version of the string(3) library, but adapted for
Unicode strings.
Does such a thing exist?
[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
<email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden