You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the source code written by other tools (it's impossible to verify exactly which tools) with Visual Studio Code, and then make code modifications. I don't know whether it will change the encoding of the entire source code file or for some other reasons. When committing the code with Git (or when using git diff), it will show that the entire file has been modified. However, when using tools like Microsoft Visual Studio or Sublime, there won't be such a problem.
The text was updated successfully, but these errors were encountered:
you can set the encoding in the bottom right corner
I am not satisfied with your answer. If I forgot to modify the encoding before editing, how can I know the correct encoding of the original code? Why don't other editors have similar problems? I have used Notepad++, Sublim, Visual Studio, SourceInsight, CLion, etc. without this problem
Open the source code written by other tools (it's impossible to verify exactly which tools) with Visual Studio Code, and then make code modifications. I don't know whether it will change the encoding of the entire source code file or for some other reasons. When committing the code with Git (or when using git diff), it will show that the entire file has been modified. However, when using tools like Microsoft Visual Studio or Sublime, there won't be such a problem.
The text was updated successfully, but these errors were encountered: