qr-code-styling
qr-code-styling copied to clipboard
Big issue!, Don't support UTF-8 Vietnamese ?
There is a unicode character error that you need to fix urgently. :warning: :warning: :warning: :warning:
The same issue https://github.com/kozakdenys/qr-code-styling/issues/126
Test text; Dương Hữu Đại
Here's how to fix the error in this library. ("default" | "SJIS" | "UTF-8")
import qrcode from "qrcode-generator";
const config = {
multibyte: "UTF-8"
}
qrcode.stringToBytes = qrcode.stringToBytesFuncs[config.multibyte];
- https://kazuhikoarase.github.io/qrcode-generator/js/demo/
- https://github.com/kazuhikoarase/qrcode-generator
support UTF-8 Vietnamese https://github.com/kozakdenys/qr-code-styling/issues/62