1001 coding

coding:

  Plain text: the information we can directly read from the computer called plaintext

  Conversion: The plain line represents a call into the other 'coding', the other line to convert the plaintext called 'decoding'

py2 the encoding: (str and unicode two kinds)

  The python bytes are encoded corresponding to str, but py2 will automatically be converted into code bytes unicode coding mode

  Two py2 encoded Chinese stitching to be wrong

py3 Code:

  

 

Guess you like

Origin www.cnblogs.com/westwind01/p/11315447.html