sciencesakura / mutf-8

An encoder/decoder for Modified UTF-8 which is used in the Java platform such as the class file format and the object serialization.
MIT License
7 stars 1 forks source link

Improve compatibility with `TextDecoder`. #26

Closed sciencesakura closed 1 month ago

sciencesakura commented 1 month ago

The behavior for inserting a REPLACEMENT CHARACTER upon detecting an invalid byte has been adjusted to align with the TextDecoder 's implementation.