BlockchainCommons / BlockchainCommons/GordianQRTool-iOS

QR scan does not support bytes mode format

Open
#83 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
5
Forks
6
PR merge metrics
No merged PRs in 30d

Description

When scanning a QR encoding that is 8 bit byte mode there seems to be a few issues.

The bytes are decoded into a string format (maybe UTF-8) ? I would think it would be better to have different output options, like hex as an example.

Here is an example qr:
![qr image bytes](https://user-images.githubusercontent.com/127377/150414865-0b1014bc-c864-4a01-8e0b-049e98a892bf.jpg)

Here is what I see in the "Confirm QR Text":
![IMG_5E6D955204EA-1](https://user-images.githubusercontent.com/127377/150414956-1c12d2fe-8a56-4373-97ee-f50eb3252cbf.jpeg)

This is the hex contents I think should be displayed (or option to display): cfca8c658bc81962549252bc7ac3ba5b0b01d26bcae89f2b5ecebe263dcb2a36

Also when I do save the QR contents and then hit the QR button on the saved contents to display an encoded QR, I get a QR that does not have the same contents or byte encoding.
![IMG_BD605D9C091A-1](https://user-images.githubusercontent.com/127377/150415377-67383964-c27e-4216-8082-fd1cf4a745e6.jpeg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.