Commit 70ae5262 authored by pscott's avatar pscott Committed by GitHub

Handle invalid utf8 sequence (#189)

* Change from_utf8_lossy to from_utf8 to avoid replacement characters

* Compact code to make it clearer

* Add invalid utf8 string decode

* Fix code for no-std
parent 5f668d00
Pipeline #83449 passed with stages
in 28 minutes and 15 seconds