Open petep0p opened 3 days ago
as added info, the same above code also has the following unintended expansions on other escape sequences:
"F2" appears as "C3 B2" (entered as \xF2)
"FF" appears as "C3 BF" (entered as \xFF)
"FD" appears as "C3 BD" (entered as \xFD)
these all follow a parallel type of relationship between UTF-8 and ISO-8859-1 as compared to "C6"
Hi, and thanks for filing an issue about that 👍 Yes, this is a bug, indeed! I'm already working on fixing it…
The error already occurs during unscaping here.
awesome, thank you! you're the best
I generated the following code in Binary Eye:
i used escape sequences to input the data, as i wanted a code that contained a specific string of hex values (attempting to program a barcode scanner). However, inputting the escape sequence:
\xC6
generates: "C3 86" instead of the expected "C6". This difference corresponds exactly to the differences in the value for the character "Æ" between UTF-8 encoding and ISO-8859-1 encoding. I read somewhere that the QR Code definition specifies that codes should use the ISO-8859-1 encoding, but i don't have the reference off the top of my head. Aside from that, it seems more logical to have an escape sequence be encoded in the most straightforward possible manner.
is this a bug, or am I not correctly understanding how everything is supposed to work?
thanks!! I love this app and use it all the time.