boost::unicode::adaptors::utf_encode
// In header: <boost/unicode/utf.hpp> template<typename ValueType, typename Range, typename... T> boost::converted_range< Range, boost::unicode::utf_encoder< ValueType > > utf_encode(Range && range, const T & ...);