What's the difference between an “encoding,” a “character set,” and a “code page”?

后端 未结 5 1547
北恋
北恋 2020-12-12 20:14

I\'m really trying to get better with this stuff. I\'m pretty functional with internationalization concepts like this, but I need to get a better background on the theory b

5条回答
  •  爱一瞬间的悲伤
    2020-12-12 20:59

    A Character Set is just that, a set of characters that can be used.
    Each of these characters is mapped to an integer called code point.
    How these code points are represented in memory is the encoding. An encoding is just a method to transform a code-point (U+0041 - Unicode code-point for the character 'A') into raw data (bits and bytes).

提交回复
热议问题