46 out_ =
utf8( narrow(widen(s,
false),
true) ) ;
51 out_ =
utf8( narrow(s,
true) ) ;
56 out_ = narrow( widen(s.s,
true) ,
false , e.context ) ;
61 out_ = narrow( s ,
false , e.context ) ;
66 out_ = widen( s ,
false ) ;
71 out_ = widen( s.s ,
true ) ;
static void convert(utf8 &utf_out, const std::string &in_)
Converts between string types/encodings: native to utf8.
Holds context information which convert() adds to the exception when it fails.
A string wrapper that indicates UTF-8 encoding.