|
Boost : |
Subject: [boost] to_utf8/from_utf8
From: Goran Mitrovic (gmit_at_[hidden])
Date: 2009-01-27 16:15:21
It would be nice if boost would export and document to_utf8 and from_utf8
functions (possibly from string utils *headers only* library).
Currently, I use following workaround, but I believe those two useful
utility functions deserve better:
#define BOOST_PROGRAM_OPTIONS_NO_LIB 1
#include <boost/program_options/detail/convert.hpp>
#include <boost/program_options/detail/utf8_codecvt_facet.hpp>
#undef BOOST_PROGRAM_OPTIONS_NO_LIB
#include <libs/program_options/src/convert.cpp>
#include <libs/program_options/src/utf8_codecvt_facet.cpp>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk