-
Notifications
You must be signed in to change notification settings - Fork 107
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
Weird characters when dealing with hyphen #19
Comments
If I activate the It is also reading ASCII 189 for the symbol My scanner is working just fine because if I open a notepad and try to scan the same code I get: QC-157 |
Hi! Use the The trouble is, that the key codes from the JavaScript events depend on a lot of things: the hardware, the operating system, the virtual keyboard used, the keyboard layout, etc. I found, that it practically impossible to decode all codes reliably. Using a custom key code mapper, that deals with the issues of your specific hardware is much easier! You can also check "keyCodeMapper" in the playground to see how the default mapper works. |
This worked really well for me |
Because 16 is the code of the shift key, with the @Emsal92 code I have a weid result with the word "Shift" between each character in the result string. It's the way it recreates an uppercase code ( does lowercase code even exist ? ), for example for the code /123 I had by simply exclude 16 in the Edit |
This |
I have a barcode that I printed with Dymo label maker that translates to QC-157. But when I tried to scan it in your playground I get:
[onScan]: Code: �QC½157 Quantity: 1
The text was updated successfully, but these errors were encountered: