1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

fix force-encoding REBASE (contains todos)

* fixed the code of forced-encoding in order to make it work
* extended unittest for forced-encoding
* fixed the constant for Katakana-encoding
This commit is contained in:
Patrick Kanzler
2016-07-25 17:25:13 +02:00
parent 046a08896c
commit 87a6647053
3 changed files with 18 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ CHARCODE = {
'PC437':
[ESC + b'\x74\x00', 'cp437'], # PC437 USA
'KATAKANA':
[ESC + b'\x74\x01', 'katakana'], # KATAKANA (JAPAN)
[ESC + b'\x74\x01', ''], # KATAKANA (JAPAN)
'PC850':
[ESC + b'\x74\x02', 'cp850'], # PC850 Multilingual
'PC860':