5- some public basics

1, on the coding

1.1 know several simple encoding format

  python3.X default encoding format is ASCII code. ASCII codes apply only to the United States, GBK apply only to Chinese, UNICODE and UTF-8 is compatible with all types of characters, we usually converted to the type of UTF-8 to deal with.

  Detailed view https://www.cnblogs.com/txbbkk/p/9291971.html

1.2 Check the string encoding

  

1.3, different encoding types into UTF-8

 

1.4, about the encoding type of coding standards

 

 

2, Other

 

  Recommended front of the character code related to a Chinese plus n, such as n 'Scorpio', so that will not be different encoding garbled

Guess you like

Origin www.cnblogs.com/txbbkk/p/12561239.html