Comments (3)
This is a correct raw byte sequence for encoding "🔝":
71 a4 04 f0 9f 94 9d 00 ec 11 ec 11 ec 11 ec 11
ec 11 ec
It looks like qrbtf does not support Mode 7.
Here's a valid byte sequence with Mode 4:
40 4f 09 f9 49 d0 ec 11 ec 11 ec 11 ec 11 ec 11
ec 11 ec
from qrbtf.
The issue seems to be the encoding algorithm is for UTF-8 code units, but charCodeAt
gets UTF-16 code units. The encoding algorithm used in QR8BitByte()
is only a partial implementation of https://github.com/akheron/jansson/blob/master/src/utf.c
I suggest we use an external library to make more reliable encoding of input strings.
from qrbtf.
Just ran into this issue trying to add my WiFi
WIFI:S:🐙 🐒;T:WPA;P:<redacted password>;;
from qrbtf.
Related Issues (20)
- 大佬,能支持一下渐变吗?
- 您好,react模块是否已集成所有样式了,可否出个教程或api使用 HOT 1
- 生成的二维码图片jsqr库无法解析 HOT 1
- 能否添加批量生成功能
- 能稍微介绍一下思路吗? HOT 2
- Backend
- qrbtf.com 404 了 HOT 1
- 错误:不支持加密算法 HOT 1
- My name={ayo}
- Active span HOT 1
- Discord 邀请点不进去怎么办 HOT 1
- docker部署
- Error ERR_OSSL_EVP_UNSUPPORTED when running npm start with Node 20 HOT 4
- Plans to Open Source the AI Version? HOT 1
- issue: 不支持微信的赞赏码
- 请问项目方的下载二维码是入如何做的 是调用接口 后端统一返回图片吗 HOT 2
- C2二维码用户自定义颜色
- 可否增加更加灵活的定价方式
- Issue about generation by G1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrbtf.