language-extensions/R/common/src/Unicode.cpp
// -------------------------------------------------------------------------------------------------
// Name: ToUtf16
//
// Description:
//  Converts the given char string with the given length to an utf-16 encoded u16string
//
ToUtf16
Description:
Converts the given char string with the given length to an utf-16 encoded u16string
ToUtf16 Description : Converts the given char string with the given length to an utf - 16 encoded u16string
std::u16string ToUtf16(const char *s, size_t l)
{
	std::u16string ans;
	ToUtf16(s, l, ans);
	return ans;
}
std :: u16string ToUtf16 ( const char * s , size_t l ) { std :: u16string ans ; ToUtf16 ( s , l , ans ) ; return ans ; }
Name: ToUtf16
Description:
Converts the given char string with the given length to an utf-16 encoded u16string
Name : ToUtf16 Description : Converts the given char string with the given length to an utf - 16 encoded u16string