Boost logo

Boost :

Subject: Re: [boost] [review] Review of Nowide (Unicode)
From: Artyom Beilis (artyom.beilis_at_[hidden])
Date: 2017-06-23 08:38:55


> 2 questions about integration in filesystem:
> - is there a way to undo what boost::nowide::nowide_filesystem() does?
>

Good question. You need to restore the locale that was imbued to path. I
don't see an API to get one without replacement.

So probably I need to return the previous locale

- can do the same with std::filesystem that is coming soon?
>
> Frédéric
>

It looks like std filesystem uses global locale... (Bad idea. )

Yes it shouldn't be a problem. Just the codecvt need to be installed to
global locale

Artyom

>


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