RosettaCodeData/Task/String-length/PureBasic/string-length-2.basic

4 lines
159 B
Plaintext

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