notebook:
1. Create a new notepad, then enter
Unicom
Save, when you open, it is a small black! ! !
2. I saw someone's explanation online as: (I don't know if it is right, don't understand
)
Typically, NotePad.exe distinguishes the encoding method of the file through the BOM (Byte Order Mark) of the file header, such as if the FF FE is represented by Unicode, and if it is EF BB BF, it is UTF-8, if the file is not bom It is not possible to speculate on the encoding method. At this time, NotePad will be defined by UTF-8. At this time, "Unicom" two-word GBK encoding is just a legal UTF-8 character, so NotePad will turn the file Press UTF-8 to open the file. The same situation will also appear on words such as "hairs". But if you add a "public" after "Unicom", the GBK code of this word is not a legitimate UTF-8 character, so the Notepad attempts to open the file in the character set specified in Locale. If the file explicitly saved as Unicode or UTF-8, a BOM is included in the file. Do you still feel this "bug" ridiculous? Everything should be multi-brain analysis. 3. It is said that "Mao" is also the same, try it, see a ë, haha word:
New Word document, write "= rand (8, 9)", enter the return to see ~~ 嘿嘿
8 and 9 can be any number