經安全檢測,此網站為安全網站,請放心前往原始網址!

How to Convert Extended Ascii To Hexadecimal In Java. I m suffering from this problem. - CodeProject

A Java char (or element of a string) is 16 bit Unicode, not 8 bit ASCII. So your cast (byte)(...) is truncating in general. Looking at a Unicode code chart, it appears that your third symbol has value 0x8a, not 0xa8. Also, byte is a signed type, whereas c

www.codeproject.com

網址安全性掃描由 google 提供