Boost logo

Boost :

Subject: [boost] [1.45][filesystem3] utf8 support
From: Jochen Wilhelmy (j.wilhelmy_at_[hidden])
Date: 2010-11-27 16:36:52


Hi!

now I switched to filesystem3. Everything works, but there is one issue
on windows.
I'd like to use utf8 in my application. I can imbue an utf8-locale to
path. But if I have
legacy libraries that take only 8 bit strings then I would pass utf8
instead of ansi
(e.g. latin1). Therefore filesystem::path can be seen as a gateway
between the application
and the operating system and therefore needs two locales, one for the
application and
one for the operating system. Or an additional method utf8() that
returns utf8 regardless
of the locale. What do you think?

-Jochen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk