Jump to content
JusJJ

Wrong hex code

Recommended Posts

I try to receive hex data from serial port using AsyncPro. However, 0x80 returns 0x20AC. How to fix this?

Share this post


Link to post

Probably you are reading binary data as Unicode string.

x80 is euro symbol in ANSI/Windows-1252.

0x20AC is also euro symbol in Unicode.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×