What is the spec for formatting data in QR codes?

2019-03-09 17:01发布

I'm specifically asking if, and what, is the specification for formatting the text inside a QR code - not how to generate a code (which I can do).

I need to put hCard data into a QR code, however I don't know how to mark the QR code as VCF data (versus URL, text, etc) so the decoder knows what to do.

All the info I've seen online has to do with generating the QR code, not formatting the data inside.

6条回答
Root(大扎)
2楼-- · 2019-03-09 17:19

In the past I have found information at http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/, a page which I can not trace (easily?) anymore.

查看更多
萌系小妹纸
3楼-- · 2019-03-09 17:33

Who says you have to pay for this info? just go to this page http://qrcodenet.codeplex.com/ and scroll to the bottom REFERENCES section and you should find a free download like tited 4. ISO/IEC 18004:2006(E) - QR code specification ISOIEC 18004_2006Cor 1_2009.pdf

查看更多
做个烂人
4楼-- · 2019-03-09 17:36

There is no official specification for this -- the QR code spec does not say anything about the contents. Everything I know about the commonly-used and de facto formats and conventions is summarized in this wiki: https://github.com/zxing/zxing/wiki/Barcode-Contents

查看更多
贪生不怕死
5楼-- · 2019-03-09 17:40

See http://www.onbarcode.com/qr_code/ for helpful info - both about encoding and generating, and several libraries to use as well.

查看更多
再贱就再见
6楼-- · 2019-03-09 17:43

The official spec is available here from iso.org, but you have to pay for it.

查看更多
Fickle 薄情
7楼-- · 2019-03-09 17:45

See http://www.denso-wave.com/qrcode/qrstandard-e.html and http://www.denso-wave.com/qrcode/aboutqr-e.html

QR Code is a kind of 2-D (two-dimensional) symbology developed by Denso Wave (a division of Denso Corporation at the time) and released in 1994 with the primary aim of being a symbol that is easily interpreted by scanner equipment. ... QR Code is open in the sense that the specification of QR Code is disclosed and that the patent right owned by Denso Wave is not exercised.

from http://www.denso-wave.com/qrcode/qrstandard-e.html:

QR Code is established as an ISO (ISO/IEC18004) standard. QR Code specification can, therefore, be purchased from this organization. Please seach by inputting ISO No.18004 to "Search and ISO Catalogue". http://www.iso.ch/iso/en/prods-services/ISOstore/store.html

查看更多
登录 后发表回答