Boost logo

Boost :

Subject: [boost] [unicode] provide <boost/cuchar.hpp> header?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2012-02-27 08:59:50

The C++11 standard library provides a header <cuchar>, with a bit of
Unicode support, based on C's <uchar.h>:

    Macros: __STDC_UTF_16__, __STDC_UTF_32__

    Functions: mbrtoc16, c16rtomb, mbrtoc32, c32rtomb

The functions provide conversion between char sequences and UTF-16/UTF-32.

It would be useful to have a <boost/cuchar.hpp> header so that these
functions could be used with existing compilers and standard

Does anyone have an implementation of these functions they would be
willing to contribute?


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