string.cut and UTF-8
string.cut and UTF-8
I am using string.cut and it is struggling when the string contains special characters. Many of the string functions have UTF8 versions (like string.len and utf8.len), but I don't see anything similar of .cut. Any advice on the best way to handle UTF8 chars with string.cut?
Re: string.cut and UTF-8
Yep. Perfect!
Thanks!!!
Thanks!!!
Re: string.cut and UTF-8
Awesome. I added a link to it in the wiki.