使用字母数字模式在二维码中编码 URL? [英] Using alphanumeric mode to encode URL in QR-code?

查看:37
本文介绍了使用字母数字模式在二维码中编码 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为我的 url 构建一个尽可能小的二维码 - 它足够短以使用缩短器(我不想依赖于它们的可靠性).

I need to build a QR-code for my url as small as possible - it is short enough to use shorteners (and I don't want to be dependent to their reliability).

HTTP://SUBDOM.DOMAIN.EU

HTTP: // SUBDOM.DOMAIN.EU

8 位字节模式太浪费地方了,我可以在那里达到版本 2,但版本 1 在 字母数字模式.

8-bit byte mode is too place-wasting, I can reach Version 2 there, but Version 1 in alphanumeric mode.

  1. 有没有办法将字母数字模式设置为仅使用小写字母而不是大写字母?
  2. 在 URL 中使用大写字母可能会在任何浏览器/平台上导致问题吗?(我在 Firefox、IE 中对其进行了测试,但恐怕这只是内部大小写转换.)

我没有明确提到,我的地址只是子域和域名,不区分大小写,例如

I didn't explicitely mentioned, that my adress is only subdomain and domain name, that is case-insensitive, according to for example

http://www.enterthenet.com/webgeek-stuff-web-names-and-case-sensitive/

这种类型的地址,没有页面名称,可以用大写字母书写并使用字母数字模式(版本 1 = 25 个字符,与 L 级 8 位字节模式中的 17 个字符相比)

Addresses of this type, without page names, can be written with upper-case and use alphanumeric mode (Version 1 = 25 characters for compared to 17 chars in 8-bit byte mode on level L)

关于一个点的最小尺寸从 0.4 毫米到 0.76 毫米,我发现了不同的建议.我需要 16 × 16 毫米大的二维码,版本 1 (21 × 21) 与上推荐级别完全匹配.

I have found different recommendations about minimum size of one dot from 0,4 mm to 0,76 mm. I need the QR-code 16 × 16 mm big and Version 1 (21×21) exactly matches the upper recommendation level.

推荐答案

(另外:版本 1 在某些情况下实际上比版本 2 更难阅读,因为它缺少对齐模式.我不会害怕使用版本 2.)

(Aside: version 1 is actually harder to read in some cases than version 2 because it lacks an alignment pattern. I would not be afraid of using version 2.)

设置字母数字模式,用什么工具?也许,也许,但取决于你的工具.

Set alphanumeric mode, in what tool? Maybe, probably, but depends on your tool.

字母数字模式只编码大写.

Alphanumeric mode only encodes upper-case.

网址区分大小写,所以一般情况下您不能将网址大写.与浏览器无关.

URLs are case sensitive, so no you may not in general upper-case a URL. It is nothing to do with the browser.

这篇关于使用字母数字模式在二维码中编码 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆