|
Boost : |
Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2011-01-17 21:47:54
On Mon, 17 Jan 2011 18:47:04 -0500, Chad Nelson wrote:
> I really wanted to avoid a dependency on the ICU library or anything
> similar if at all possible, but it looks like it might be
> inevitable. :-(
You may well find that you can ;) Artyom's latest work on Boost.Locale
allows you to select from a range of different backends giving varying
levels of locale support. ICU gives the 'best' results but for my project
Swish, for instance, I didn't need any of these advanced features so I just
use the Win32 backend. This uses the Windows API to do the conversions
etc. and freed me from the beast that is ICU.
Alex
-- Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk