near / borsh

Binary Object Representation Serializer for Hashing

Home Page:https://borsh.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTF-8 Consistency

MaksymZavershynskyi opened this issue · comments

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.

Are they different?