2013年5月16日 星期四

傻傻分不清楚 - encoding、charset、code page


Encoding

An encoding is a mapping of a character to a sequence of bits. All encodings except Unicode are called multibyte encodings.

Charset

A charset is the application of an encoding for each character in a character set. In other words, it is a character set in which every character has been assigned an encoding unique numeric value.

Code page

A code page is a unique physical implementation of a charset. A code page is usually identified by an unsigned integer, although some MLang APIs require a DWORD as a code page identifier value instead.

沒有留言:

張貼留言