Java data types serial 9- & Character Encoding

A data type Note:
(1) Computer initially supports English, the first character encoding is occurring: the ASII code
example: 'a' corresponds to 97, corresponding to 01100001
(2) when the encoding and decoding using the same set of dictionary / table , does not appear garbled. Otherwise garbled.
Second, the character code
1.'a 'corresponds to 97,' A 'corresponds to 65,' 0 'corresponds to 48, which is inside the words 0, not digital, back down to three, it can be used to infer other text. For example: 'b' corresponds to 98, that is, 97 + 1; 'B' corresponds to 49, that is, 48 + 1, etc.
2. Computer began to support Chinese, Japanese, Korean, and other national languages, which support simplified Chinese encoding, from large to small for the: GB2312 <GBK <GB18030; support Traditional Chinese: big-5 (big5)
3. later, the emergence of a unification of all the text encoding global, larger capacity, this encoding method is called unicode coding, coding unicode there are a variety of specific forms
, for example:. 8 UTF-\ UTF-16 \ UTF-32
4.java language source code is taken unicode encoding, so "identifier" may be a Chinese
5. in the actual development process, modern java language commonly used is more UTF-8 encoding
Third, source:
2.CSDN: HTTPS: //blog.csdn.net/weixin_44630050 (Xi Jun Jun Moods do not know - Core)
3. Park blog: https: / /www.cnblogs.com/ruigege0000/
4. welcomes the attention micro-channel public number: Fourier transform, backstage reply "gifts" to get big data learning materials

 

Guess you like

Origin www.cnblogs.com/ruigege0000/p/11261701.html