- To: Andre Pang <ozone@xxxxxxxxxxxxxxxx>
- Subject: Re: [coders] Converting a UTF-8 string to a wchar_t (in C)
- From: Matthew Hannigan <mlh@xxxxxxxxxx>
- Date: Thu, 14 Dec 2006 08:33:54 +1100
- Cc: SLUG Coders <coders@xxxxxxxxxxx>
- User-agent: Mutt/1.4.2.2i
On Thu, Dec 14, 2006 at 01:15:12AM +1100, Andre Pang wrote:
> [ .. ]
> Is there something I'm missing, or is the way that everybody really
> does it? I'm thinking that converting between UTF-8 and wchar_t must
> be somewhat common these days, but Googling for "convert utf-8 to
> wchar_t" really isn't being all that helpful.
I know SFA about i18n/utf/whatever but I've read good
things about IBM's International Components for Unicode:
http://icu.sourceforge.net/
http://www-306.ibm.com/software/globalization/icu/index.jsp
It's being pulled-in to boost by the looks of it.
Matt