Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode characters not showed #49

Open
pherjung opened this issue Dec 19, 2021 · 7 comments
Open

Unicode characters not showed #49

pherjung opened this issue Dec 19, 2021 · 7 comments

Comments

@pherjung
Copy link

pherjung commented Dec 19, 2021

If scanned QR code has some specials lowercase characters (like é, à, ä, etc). CoBang doesn't handle it correctly.
I'm using CoBang 0.9.6 on Manjaro.

@hongquan
Copy link
Owner

Thank you. I haven't tested it. Will fix.

@hongquan
Copy link
Owner

@pherjung Could you give a screenshot? I've just tested and it can handle Unicode:

image

@pherjung
Copy link
Author

pherjung commented Dec 30, 2021

I have the issue using the webcam and importing the file. It should be : Il était une fois, un noël radieiux et un gros test. Manchmal sind wir über freundlich.

cobang_issue

@hongquan
Copy link
Owner

@pherjung Could you share me that picture? I guess it is just your system configuration.

@pherjung
Copy link
Author

pherjung commented Jan 3, 2022

Capture d'écran_20220103_001
Here is the picture. Is this fine for you?

@hongquan
Copy link
Owner

hongquan commented Jan 5, 2022

Hi, I can reproduce the issue. Unfortunately, I cannot fix it right now, because it is a bug of the underlying library, ZBar, which assumes the text-encoding and tries to convert binary string to unicode before returning to the application.

I will try to contact ZBar developers for this issue.

@hongquan
Copy link
Owner

I've just heard about QR scanner based on WeChat algorithm. Maybe I will port it to Python / Rust and use it behind CoBang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants