Giter Site home page Giter Site logo

UTF8 strings under Ruby 1.9.2 about rqrcode HOT 7 CLOSED

whomwah avatar whomwah commented on May 18, 2024
UTF8 strings under Ruby 1.9.2

from rqrcode.

Comments (7)

whomwah avatar whomwah commented on May 18, 2024

Could you give an example of what you supplied and what was generated, as I am unable to reproduce this error?

from rqrcode.

whomwah avatar whomwah commented on May 18, 2024

I take that back, I can now, and will look at fixing this problem.

from rqrcode.

ares avatar ares commented on May 18, 2024

This unfortunatelly makes it impossible to use it in my app. Is still fix planed? I vote +1 for this :)

from rqrcode.

ares avatar ares commented on May 18, 2024

To be more specific, there. Is a problem with 2 bytes characters (diacritics) e.g. č ž ř etc. I think the problem is that you iterate one byte at a time in qr_8bit_byte.rb.

from rqrcode.

whomwah avatar whomwah commented on May 18, 2024

Yep, I know the problem. I just don't have the time, or current 1.9 String knowledge to fix it. Please can someone step in?

from rqrcode.

nicovk avatar nicovk commented on May 18, 2024

I had this issue which was resolved by encoding string argument in CP852

from rqrcode.

bjornblomqvist avatar bjornblomqvist commented on May 18, 2024

This has been fixed in 79ac6c2

from rqrcode.

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.