Encoding Text Code Page

 

- Info:

- "Code Page" has the same meaning as "character set" and "character encoding".

- "Code Page" defines which number/code represents which character/sign /letter.

- Below we have defined to very simple "code pages" which connect each letter with specific number/code.

If we want to use "Code Page 1" to represent word "STOP" we would have to write "1234".

If we want to use "Code Page 2" to represent word "STOP" we would have to write "3124".

"Code Page 1"

1S 2T

3O 4P

 

"Code Page 2"

1T 2O

3S 4P

 
 

 

 

 


- In real life, in the most simple example, each code is one byte long which means that it can have values [0,255].