Character encodings in these files represent a different error in TFS

There is an encoding error between the last file check and the old one. How to find out the old encoding type check.

I use UTF-8 (with signature) in Visiul 2008 studio. I can save the encoding in the IDE File-> Advanced Save Options. Some vs2008 do not display “Advanced save options” in the “File” tab. How can I display "Advanced save options" in a file?

+3
source share
1 answer

Inside VS, you can go to the file in Source Control Explorer, right-click on it and select “Properties”

Visual Studio : tf properties $/path/to/file.cs File Type . . MSDN.

, TFS :

Unicode (BOM) (UTF-8, UTF-16 big endian, UTF-16 little endian ..).

, ASCII 1 . ASCII , , Windows-1252 Windows.

, . ASCII 0 - 0x1F 0x7F, 0x9 (TAB), 0xA (LF), 0xC (FF), 0xD (CR), 0x1A (^ Z).

+4

Source: https://habr.com/ru/post/1781847/


All Articles