View Single Post
09/07/18, 07:13 PM   #10
SDPhantom
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 47
Originally Posted by Phuein View Post
How do you do the character count? Referring to unicode wide-characters. Do they count as 1 character or as many bytes as they take? If you can point me to the actual function you use in-game that'd work, too.
Considering we're talking about buffers, they only operate at the byte-level. A simple length operation (#string) will give you this number.