n bytes of
str converted to the user's locale charset.
string iconvUtf8ToLocaleLength(string str, size_t n)Allocates a new string buffer containing the first n bytes of str converted to the user's locale charset.
str | string in UTF-8 charset |
n | number of bytes to convert |
n bytes of
str converted to the user's locale charset.