near / borsh

Binary Object Representation Serializer for Hashing
https://borsh.io/
487 stars 41 forks source link

UTF-8 Consistency #50

Open MaksymZavershynskyi opened 4 years ago

MaksymZavershynskyi commented 4 years ago

As suggested by @vgrichina we need to make sure Rust and JS implementations fail and succeed on exactly the same UTF-8 sequences.

Also, we need to make sure specification explains that implementation must disallow illegal UTF-8 to allow for deterministic roundtrip.

evgenykuzyakov commented 4 years ago

Are they different?