Giter Site home page Giter Site logo

Comments (7)

itorgov avatar itorgov commented on September 28, 2024

That is true QR for "Hello World":

Hello World

from simple-qrcode.

SimplyCorey avatar SimplyCorey commented on September 28, 2024

Both of these QrCodes are correct. The first one is encoded using the "High" error correction while the second one is encoding using the "Medium" error correction. They both scan correctly. I have confirmed this by scanning them with a QrCode reader.

There are also many different methods to generate a QrCode. Simple-QrCode uses the ZXing library implementation to create QrCodes. You can read more about this here: http://stackoverflow.com/a/4551192

What encoding is the second QrCode using? Where did you get the second QrCode? Rest assure both are valid QrCodes 😄

from simple-qrcode.

itorgov avatar itorgov commented on September 28, 2024

Secondary QR code generated using http://qrcoder.ru
I use Scan app (http://scan.me) for read QR codes. This app can not read QR which generated using your library :-( But it read QR code which generated using dineshrabara/barcode library. I want use your library, because I like it, but I can not :-(

from simple-qrcode.

SimplyCorey avatar SimplyCorey commented on September 28, 2024

I will try that app when I get home and see what us going on. They may not support UTF8.

from simple-qrcode.

SimplyCorey avatar SimplyCorey commented on September 28, 2024

I am able to read all of the following QrCodes with that app without any issues. Are you getting an error message? Can you give me a screenshot of your phone when it fails to read? I would also try using a different phone app to scan them. Please try scanning the following QrCodes and let me know if they work.

UTF8
utf8

ISO-8859-5
iso-8859-5

ISO-8859-1
iso-8859-1

UTF-16BE
utf-16be

GBK
gbk

EUC-KR
euc-kr

from simple-qrcode.

itorgov avatar itorgov commented on September 28, 2024

This is my investigation - http://youtu.be/jepl5LdMJyw
So, Scan app is supporting ISO-8859-1 encoding only.
However Barcode app by Cocologics is supporting all this encodings. So, there is no bug in your library :-)

from simple-qrcode.

SimplyCorey avatar SimplyCorey commented on September 28, 2024

Glad we were able to figure it out. 😄

Be aware that ISO 8859-1 does not support most foreign languages or special characters.

If we can help you out with anything else, be sure to let us know.

from simple-qrcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.