Opened 9 years ago
Closed 9 years ago
#9268 closed Bugs (invalid)
boost.locale does not support char16_t for g++ 4.7
Reported by: | Owned by: | Artyom Beilis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | locale |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hello. I'm trying to use boost.locale to convert charset to UTF-16 but the char16_t implementation of the to_utf function is disabled with the
#ifdef BOOST_HAS_CHAR16_T
construction. I'm using g++ 4.7 with the -std=c++11 option and all new character types are works fine. However BOOST_HAS_CHAR16_T is not defined. I have researched source codes of the boost library and not found a place where the BOOST_HAS_CHAR16_T flag enabling for the g++ compiler. Please, provide enabling this flag for modern versions of the g++ compiler.
Note:
See TracTickets
for help on using tickets.
See: http://www.boost.org/doc/libs/1_54_0/libs/locale/doc/html/status_of_cpp0x_characters_support.html
The fact that there is char16_t does not make it useful.