Specify the character failing in the decode error
See original GitHub issueSee: https://github.com/cryptocoinjs/base-x/blob/master/index.js#L81
Suggest something like: The character ${char} is not found in base${base} alphabet: ${alphabet}
May get around to a pull request myself at some point
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Python ASCII and Unicode decode error - Stack Overflow
Your original string is most likely already in UTF-8, so you can't decode it using the default ASCII character set. Share.
Read more >Handling encoding and decoding errors in Python
You will learn 6 different ways to handle these errors, ranging from strictly requiring all data to be valid, to skipping over malformed...
Read more >Character decoding error occurred. Set correct charset ...
csv file was build using plain text and I continue to get "Character decoding error occurred. Set correct charset. Current charset is UTF-8"...
Read more >501 : Base 64 decode failed for command command: error - IBM
1: Bad character in encoding: An invalid character was received from the server as part of a base 64 encoded string. The valid...
Read more >EUC-JP codec fails to properly decode the "㎝" character
It seems that Encoder and Decoder of EUC-JP for "Extension character set 0x2D (row number 13, NEC special characters)"(see this wikipedia) is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s a semver world. 😦 😃
See the
name
parameter approach I might take in https://github.com/cryptocoinjs/base-x/pull/42