Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I scan a barcode, it displays in textbox weird characters like &é'"(_-é instead of the number '12345678'. This happens on two distinct computers.
Anyone can help me with this?

What I have tried:

I have tried the same thing on another computer, same results.
Posted
Updated 11-Nov-22 7:13am
Comments
Richard MacCutchan 11-Nov-22 12:37pm    
Contact the manufacturer of the barcode reader, it is their product.

1 solution

We really can't tell, we have no access to the reader, or your system, or your code - and you are going to need at least some of that to even start working out what it going on.

Most modern scanners connect via USB and are configured to act as a keyboard: the code is scanned and transferred to the computer as if they had been typed on a keyboard. Optionally, they can have a lead-in and tail-out sequences so that your code can identify where a code begins and ends, and to differentiate real keyboard input from scanner data.

But some transfer via serial, acting as a COM device, and if yours is working like that then the communications need to be configured exactly correctly, or the data gets corrupted and you get "weird characters".

You need to contact the scanner manufacturer tech support, and find out how your scanner is configured, how to change that configuration, and how your software needs to talk to it. Get that working with "known good" software, and then start coding your app to use the data.

Sorry, but we can't do any of that for you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900