rmqrcode-python icon indicating copy to clipboard operation
rmqrcode-python copied to clipboard

fix wrong encoder methods

Open tkamiya22 opened this issue 9 months ago • 0 comments

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.)

tkamiya22 avatar Apr 23 '25 14:04 tkamiya22