Why is encoding and decoding necessary for any programming language / database?

While I can understand the meaning of encoding and decoding from Wikipedia, I cannot understand why they need every programming language? And if the answer is related to the ability to read data from an external source, such as a database, then why do many of them use different coding schemes?

Ex Python has ASCII encoding. By default,
 Java relies on the underlying OS.
 DB2 database has IBM-1252

+5
source share
2 answers

Most people like to work with text.

However, computer storage can only work with bytes.

Encoding is the process of converting text to bytes.

, , .

UTF8. ( , )

+18

, , . , .

http://searchnetworking.techtarget.com/definition/encoding-and-decoding:

(, , ) . - . , . ().

, , - - . , , , , , , , , . , , , . , , .
, , ASCII ( , ASK--). ASCII , , . Unicode, BinHex, Uuencode MIME. , () . , (, ). , 19 , .

+3

All Articles