Boost logo

Boost :

Subject: Re: [boost] Environment Variables Library?
From: Michael Ainsworth (michael_at_[hidden])
Date: 2015-05-22 20:18:20


Given that std::getenv returns a char*, I think the library should work with std::string, although we did discuss supporting std::wstring using templates. Whether std::string is encoded in ASCII or UTF8 would be an OS specific thing I imagine.

Someone with more experience with character encodings might want to weigh in here.

Michael

> On 22 May 2015, at 8:21 pm, Klaim - Joël Lamotte <mjklaim_at_[hidden]> wrote:
>
> ​By the way, what would be the encoding of the strings returned by or
> passed to the Environment library?
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


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