rmqrcode-python
rmqrcode-python copied to clipboard
fix wrong encoder methods
Fixed an issue in Encoder.is_valid_characters.
The newline character (\n) was incorrectly handled in both NumericEncoder and AlphanumericEncoder. (fix #58)
The condition in the if statement of KanjiEncoder was always True. (It seems this did not cause any problems as it was blocked by a UnicodeEncodeError.)