This is great, exactly what I was looking for. Thanks!  There is just one snag.  I see it is version 1.55.0 but not in 1.42.0.  I use 1.55 privately but the corporate environment uses 1.42. Do you know what version of boost the locale stuff was introduced at?  It doesn't seem to be in 1.42 in the same way. I see references to utf conversions in spirit but it is done differently.

On Jun 5, 2014 12:16 AM, "Adam Wulkiewicz" <adam.wulkiewicz@gmail.com> wrote:
Andrew Marlow wrote:
I hope this is the right place to post my question. I expected to be able to convert between narrow and wide strings using boost lexical cast but it fails to compile. I suppose that conversion is not supplied or supported. It would be really useful to me if it was. I am developing on win32 for wince and on wince there seeem to be many places where wide strings are required, especially when using the win32 API.  Is there any chance this could be added to boost?  I checked using boost 1.55.0

Have you checked Boost.Locale?
E.g. http://www.boost.org/doc/libs/1_55_0/libs/locale/doc/html/charset_handling.html

Regards,
Adam
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users