src/libtsduck/base/tsUString.cpp
ts::UString ts::UString::FromUTF8(const std::string& utf8)
{
    UString str;
    str.assignFromUTF8(utf8);
    return str;
}
//----------------------------------------------------------------------------
// Convert an UTF-8 string into a new UString.
//----------------------------------------------------------------------------
Convert an UTF-8 string into a new UString.
Convert an UTF - 8 string into a new UString .
ts::UString ts::UString::FromUTF8(const std::string& utf8)
{
    UString str;
    str.assignFromUTF8(utf8);
    return str;
}
ts :: UString ts :: UString :: FromUTF8 ( const std :: string & utf8 ) { UString str ; str . assignFromUTF8 ( utf8 ) ; return str ; }
Convert an UTF-8 string into a new UString.
Convert an UTF - 8 string into a new UString .