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