generating QR Code for text in Indic language, hindi - qr-code

I need to generate QR code for a string that is in Hindi, an Indian language. I am using a Firefox Addon, QR Code Image Generator 2.0.1 and typing in Hindi using Ibus in Ubuntu and it is generating a QR Code but when I try to scan it using the Barcode Scanner app by zxing, it doesnt get recognized. I had raised this issue in github repo of zxing but it seems I need to use something called ECI segment, something I didnt understand. Can somebody tell me what I need to do so that QR Code when scanned can be detected as Hindi text and the same is displayed.

This appears to be a bug with the Firefox plugin you're using. It's perfectly possible to create a QR code with Hindi text:
If you take a look at the technical details of the QR code at http://zxing.org/w/decode.jspx you'll see that the ECI segment has been set to UTF-8.

Related

Android QR code reading libs

I have an Android QR code reading app that runs on a cheap phone with no autofocus. QR code that I must read is small and on camera preview looks blurry. The one app able to read this code is NeoReader.
Does everybody know good free libraries to read QR codes?
I know that:
ZBar (it's ok but not works with blurry code)
ZXing (this Barcode reader not reads the required code; don't tried to integrate)
NeoReader SDK (not free)
My init code for ZBar:
scanner = new ImageScanner();
scanner.setConfig(0, Config.ENABLE, 0);
scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1);
scanner.setConfig(0, Config.X_DENSITY, 1);
scanner.setConfig(0, Config.Y_DENSITY, 1);
If none of the four above is an option (or even if they where!) I would strongly suggest using Googles own library found in Google Play services under the namespace com.google.android.gms.vision.barcode. It scans the codes locally, fast and robust, and you have full control of the source code in just a few classes.
For a simple example check out Android QR Code Reader Made Easy. That should get you up and running in no time! There's also further reading linked at the end of the post for advanced examples.

QR Code AddressBook

I'm planning to use QR Code AddressBook on my project currently I'm using 3 0f 9 Barcode. I'm capturing Name, and Account number. but the barcode it's quite long.
I found out the QrCode Address book can capture a long characters including address website phone number, website and etc.
Does the QRCodes Address book works the same way with 3of9. from plain text just change the fonts it will convert to barcode.
If not what is the process to converting clear text to qrCode address.
Thanks in advance,
Ryl
No, it doesn't work like that.
You can use a third-party-library like zxing
https://github.com/zxing/zxing
or use this library and tools or watch at the provided sourecode.

language translation in UTF-8 or unicode

In my Chinese properties file I have a code like :
FORGOT_YOUR_PASSWORD_TITLE =\u5fd8\u8bb0 ID/\u5bc6\u7801
I have tried with native to ASCII of java software
Now I have to modify it. I am not able to understand whether it is Unicode or other. I have used native to ascii & other tools to find it out. But I did not find. Can any one help me to understand which type of code is this??
It is unicode. I'm assuming windows - different ball game if it is linux.
Start the charmap utility that comes with windows.
Change to font to Arial Unicode MS.
Select Advanced View.
Type in each of the \u codes and click select.
You will end up with something like
忘记密码
Copy that and paste in Google translate. Change the other side to English - it will say Forgot Password.

How to generate QR codes using library in .Net

I am planning to explore on QR code generation . I saw the google api http://chart.apis.google.com/chart?cht=qr&chs=75x75&chl=test and its pretty impressive. But it works only for URL's and small data's. So i am thinking about writing a .net app to generate the QR code. So any information on libraries to start with ,will be helpful.
Thanks,
It does not just work for URLs. You can put whatever text you want as an argument (just URL-encode it correctly). It also works for any data size that QR codes can support.

What is the spec for formatting data in QR codes? I can not find it anywhere

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.
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
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
See http://www.onbarcode.com/qr_code/ for helpful info - both about encoding and generating, and several libraries to use as well.
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
The official spec is available here from iso.org, but you have to pay for it.
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.

Resources