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