Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-08-16 07:44:54

Gavin Lambert wrote:
> Using wchar_t on Windows is actually the least painful option. (And you don't
> have to worry about locales and imbuements etc if you never try to convert to
> not-wchar_t.)

That's only if your program never runs on anything else. For portable code,
using char and UTF-8 is the least painful option. We have an entire library
in Boost for this purpose, whose documentation does a reasonable job
explaining that.

Boost list run by bdawes at, gregod at, cpdaniel at, john at