Home > Back-end > How to identify the double-byte characters, such as Chinese characters
How to identify the double-byte characters, such as Chinese characters
Time:10-01
Want to consult: Such as "|", in view of the character set GBK, I how to recognize the Chinese characters and | Good | a total of three bytes The characters of high bit must be the first, this no doubt, but the low byte highest can also be 1, or 0 Why this is the first and the second byte double-byte characters "good", while the third byte is single-byte? Why isn't the first byte is single-byte characters, while the second (assuming the highest is 1) and the third byte constitutes a double-byte characters? thank you
CodePudding user response:
Like bears before post, and questions? If not dried shrimp in particular, general judgment, like this can mix output,