language-extensions/R/common/src/Unicode.cpp
// -------------------------------------------------------------------------------------------------
// Name: ToUtf8
//
// Description:
//  Converts the given char16_t and size l to an utf-8 encoded string and return it back
//
ToUtf8
Description:
Converts the given char16_t and size l to an utf-8 encoded string and return it back
ToUtf8 Description : Converts the given char16_t and size l to an utf - 8 encoded string and return it back
std::string ToUtf8(const char16_t *s, size_t l)
{
	std::string ans;
	ToUtf8(s, l, ans);
	return ans;
}
std :: string ToUtf8 ( const char16_t * s , size_t l ) { std :: string ans ; ToUtf8 ( s , l , ans ) ; return ans ; }
Name: ToUtf8
Description:
Converts the given char16_t and size l to an utf-8 encoded string and return it back
Name : ToUtf8 Description : Converts the given char16_t and size l to an utf - 8 encoded string and return it back