MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
1.59k stars 430 forks source link

string.len(russian text here) #2494

Closed Nex4rius closed 7 years ago

Nex4rius commented 7 years ago

I have a program that supports multiple languages and I've noticed that the GUI is misplaced when the russian language is displayed.

I've run a simple test.

I tested it on OpenOS 1.6 and 1.6.7

magik6k commented 7 years ago

Use unicode.len for that. string.len returns raw number of bytes.