Open GHolk opened 4 years ago
this library does not support unicode. for example: require('qrcode-terminal').generate('αβγ') will generate QR code which would be parsed to garbled text.
require('qrcode-terminal').generate('αβγ')
> require('qrcode-terminal').generate('αβγ', {small:true}) ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀▀ ▄ █ ▄▄▄▄▄ █ █ █ █ █▀▀▄▄ █ █ █ █ █ █▄▄▄█ █▀▄█▀▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄▀▄█▄█▄▄▄▄▄▄▄█ █ ▄▄▄ ▀▄▄ ▀█ ▀ ▀▄█▄▀ ▀█ █ ▄▀▀▀▄▄▄█▀ ▀ ▀ ▄███▀▄█ █▄▄██▄█▄▄▀ ▀█ ██ █▄▀▀▀█ █ ▄▄▄▄▄ █▄█ ▄█▄█▀ ▄▀▀ █ █ █ █ █ █ ▀ ▀█▄▀▄███ █ █▄▄▄█ █ ▀▀▀ ▀ ▄█▀████ █▄▄▄▄▄▄▄█▄███▄██▄██▄▄██
this library does not support unicode. for example:
require('qrcode-terminal').generate('αβγ')
will generate QR code which would be parsed to garbled text.