gpt4 book ai didi

qr-code - 一个二维码可以处理多少个纯文本字符?

转载 作者:行者123 更新时间:2023-12-04 16:41:06 25 4
gpt4 key购买 nike

我一直在尝试将纯文本放入二维码中。几段似乎不是问题。然而,更长的文本似乎扼杀了系统。

我已经看到大约 300 个字符导致服务器出现问题,但我不确定这是基于什么。

一个二维码可以处理多少个纯文本字符?

最佳答案

What can be stored in a QR Code?

Up to 7089 digits or 4296 characters, including punctuation marks and special characters, can be entered in one Code. In addition to numbers and characters, words and phrases (e.g. Internet addresses) can be encoded as well. As more data is added to the QR Code, the Code size increases and the Code structure becomes more complex.


来源: https://www.qr-code-generator.com/qr-code-marketing/qr-codes-basics/

您可以存储的数据类型的更多详细信息:
QR Code Data Capacity
_______________________________________________________________
| Input | Max Characters | Possible Characters |
|______________|________________|_______________________________|
| Numeric | 7,089 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
|______________|________________|_______________________________|
| | | 0–9, A–Z (upper-case only), |
| Alphanumeric | 4,296 | space, $, %, *, +, -, ., /, : |
|______________|________________|_______________________________|
| Binary | 2,953 | ISO 8859-1 Characters |
|______________|________________|_______________________________|
| Kanji/kana | 1,817 | Shift JIS / X 0208 Characters |
|______________|________________|_______________________________|

资料来源:
https://en.wikipedia.org/wiki/QR_code#Storage
http://qrcode.meetheed.com/question3.php
您还可以在此处找到官方规范:
https://www.iso.org/standard/62021.html

关于qr-code - 一个二维码可以处理多少个纯文本字符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60637786/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com