How to display QR Code correctly in Windows 10 Console
Created by: huan
Problem
Solution 1: Config CMD Console
使用新版控制台,设置chcp 437 , 字体为点阵字体consolas
Credit: 解决windows 10 控制台不能正常显示二维码
Solution 2: Use Wechaty QR Code Online Service
Add your QR Code to the end of the URL of https://wechaty.js.org/qrcode/
then paste it to your browser to display the QR Code image.
const QRCODE_URL = 'https://wechaty.js.org/qrcode/'
const url = QRCODE_URL + 'https://login.weixin.qq.com/l/YYk19JaKVA=='
console.log(url)
// Output https://wechaty.github.io/qrcode/https://login.weixin.qq.com/l/YYk19JaKVA==
Then open it in your browser, that's it!
Click me: https://wechaty.js.org/qrcode/https://login.weixin.qq.com/l/YYk19JaKVA==
API
https://wechaty.js.org/qrcode/
+ QR Code