-
Notifications
You must be signed in to change notification settings - Fork 116
Invalid continuation byte #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am having the same issue. I'm trying to convert strings like that:
All lowercases pass the test all uppercases not, except "ß" there is no lower / uppercase in german. Tested some other special characters but they passed the test. |
Similar issue with emojis, anybody has an idea on how to fix it (other than a try / catch cop out?) |
Similar issue, circumventing with a try catch block, error:
this is an example of the input:
|
Similar issue trying to convert the word "Información". |
Please show us a snippet according to the tests, this error is thrown when an invalid sequence is encountered
Line 245 in 2ce0954
|
this code is throwing sam e error : utf8.decode( |
+1 |
Same here when |
as you receive the utf-8 encoded JSON and store it into a string you get the string re-encoded in UCS2 decoding as it's utf8 raises an error as expectesd |
|
macOS, Webstorm 2017.1, Reactjs
I'm receving a utf-8 encoded JSON, converting it to a string and then utf8.decode(str).
At some point I'm getting the error Invalid continuation byte. Is there a way in which I can find the byte that is causing this error? This error appears with some of the users of my DB, not all, and I need to compare them.
Thanks
The text was updated successfully, but these errors were encountered: