Don't usually how to edit, just open it with vs code
Met two headaches, but want to consult the
1, can't search Chinese, such as Chinese annotation,
With vs code search the entire folder English functions, variables are normal, but you can't search to Chinese content, such as Chinese annotation, Chinese output, such as
2, search box to search out the code, if the line there are Chinese, so in the search interface in Chinese partly gibberish, but English is normal,
The two problems should be the problem of Chinese coding, but my "files. AutoGuessEncoding" has been set to TRUE, other do not know how,
And the code in the edit screen, Chinese display is normal,
Vs code is good, but this is the small problems, cause I have been used up, only hold a huge vs community
Want to consult everybody, have encountered similar problems
CodePudding user response:
For computer no noise, only the binary bytes; To the human brain is gibberish, GBK: 0 xb0 0 xa1, Unicode - 16 LE: 0 x4a 0 x55, Unicode - 16 BE: 0 x55 0 x4a, utf-8 8-0 x95 xE5 0 0 x8aCodePudding user response:
Can guide it to me? You speak these words as well as no speak??CodePudding user response:
Search default should be utf-8, your editor is gb2312"Files. AutoGuessEncoding" should correspond to the latter
How can check in front of the change, don't change the words can change all the files to utf-8 (click on the lower right corner of gb2312, save for utf-8)