1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

re-work encoder to consult the capabilities database and use custom code pages or python encoder as necessary

This commit is contained in:
Michael Billington
2016-09-11 21:03:55 +10:00
parent d9a6960f07
commit 9a65945fcd
4 changed files with 50 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ class TestEncoder:
@raises(ValueError)
def test_get_encoding(self):
Encoder({}).get_encoding('latin1')
Encoder({}).get_encoding_name('latin1')
class TestMagicEncode: