From ff9e696fe43b5f3a8ebcfb21d9de26dd3c9d24e2 Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 22 Aug 2017 09:30:05 +0800 Subject: [PATCH] change text encoding --- gdata-characteristic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdata-characteristic.js b/gdata-characteristic.js index 79e5b1a..25e75c5 100644 --- a/gdata-characteristic.js +++ b/gdata-characteristic.js @@ -69,7 +69,7 @@ function printString(str){ .align('ct') .size(1,1) for(let i in strs){ - printer.text(strs[i]) + printer.text(strs[i], 'big5') } printer.cut(true, 8) }