> A serialization library usually has no special logic for UTF-8, it just see 
> strings as raw bytes.

yes i know, I thought that is the problem, that js tries to make the string 
into valid utf8 or something, which it isnt.

> However int8 can store up to 127 and beyond you need int16

yes but a string is a char array, and a char is a uint8 isnt it? and a uint8 
goes up to 255. I mean the nim string works just fine. 

Reply via email to