RosettaCodeData/Task/String-length/PureBasic/string-length-2.purebasic
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

3 lines
159 B
Text

a = StringByteLength("ä", #PB_UTF8) ;a will be 2
b = StringByteLength("ä", #PB_Ascii) ;b will be 1
c = StringByteLength("ä", #PB_Unicode) ;c will be 2