A character set, also known as an “encoding,” is the set of bit patterns used to represent a set of characters. EBCDIC is used in IBM mainframs. ASCII is one of the most popular encoding. Unicode is the third encoding.
Endian-ness refers to the order in memory in which bytes are stored for a multiple byte quantity.
All modern computer architectures are byte-addressable, meaning every byte of main memory has a unique address. If you store multibyte datum in several successive addresses, should the most significant byte (MSB) of the datum go at highest address or the lowest address?
Big Endian, means that the MSB of an integer is stored at the lowest address, and the least significant byte (LSB) at the highest address (The Big End comes first).
0×11223344 is stored as below:
base address+0:0×11
base address+1:0×22
base address+2:0×33
base address+3:0×44
Usage: The APARC, Motorola 68K and the IBM 390 series are all big-endian architecture.
Advantage: telling if a number is +ve or -ve by just looking at the first byte.
Little Endian, means that the LSB of an integer is stored at the lowest address, and the MSB at the highest address (The Little End comes first).
0×11223344 is stored as below:
base address+0:0×44
base address+1:0×33
base address+2:0×22
base address+3:0×11
Usage: Intel x86 and DEC VAX are all little-endian architecture.
Advantage: telling if a number is odd or even by just looking at the first byte.
Tags: bigendian, byteorder, charset, encoding, java, littleendian

