Notepad ++ see the total number of characters in a text file, GBK number of bytes, UTF8 number of bytes

If it is encoded

 

 

 

 

Summary: In UTF-8 encoding, a character occupy 3 bytes, the GBK encoding, a character occupies 2 bytes:

 

 

Guess you like

Origin www.cnblogs.com/mediocreWorld/p/11530573.html