update to latest gozxing

This commit is contained in:
Michael Stapelberg
2024-01-31 17:58:59 +01:00
parent 376f1c2508
commit 57db542958
3 changed files with 66 additions and 8 deletions

View File

@@ -20,7 +20,6 @@ import (
"image/draw"
"github.com/makiuchi-d/gozxing"
"github.com/makiuchi-d/gozxing/common"
"github.com/makiuchi-d/gozxing/qrcode"
"github.com/makiuchi-d/gozxing/qrcode/decoder"
)
@@ -61,7 +60,7 @@ func qrEncodeHints() map[gozxing.EncodeHintType]interface{} {
// Section 4.2.1: Character set:
// UTF-8 should be used for encoding
gozxing.EncodeHintType_CHARACTER_SET: common.CharacterSetECI_UTF8,
gozxing.EncodeHintType_CHARACTER_SET: "UTF-8",
}
}