Skip to content
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

BUG found #24

Open
mikperic opened this issue Mar 1, 2016 · 0 comments
Open

BUG found #24

mikperic opened this issue Mar 1, 2016 · 0 comments

Comments

@mikperic
Copy link

mikperic commented Mar 1, 2016

There is a huuuge bug here:

For example, if you enter "ap\n" ("ap" and NEW LINE) here:

http://kvanttt.github.io/BaseNcoding/

using Base=4096 and MaxBitCount=12 it will encode into:

ٚ+

which decodes back into "az" instead of its original value "ap\n" ("ap" and NEW LINE).

This bug is not related to web site character encoding nor new line differences between OSs (\r, \n vs \r\n) but it is easily reproducable with unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant