So I want to use llDialog to display a list of the display names of nearby avatars gathered by llSensor. I know that a button can't have a label longer than 24 characters so I use llGetSubString to make sure none of the names exceed that.
My problem is, one of the nearby avatars has the name "Riley 横バ火".
LSL has no problem with that - it considers it to be 9 characters long. But put it on a button in llDialog and you get an error - "button labels must be 24 or fewer characters long".
Experimenting, I find I can make a button that displays the first 8 characters of the name. I can also display the last 8 characters of the name. It's as though the button treats each character of the name as being 3 characters long.
Anyone seen this issue before? Any advice?