How to: Configure Source Control File Encoding
Team Foundation Server source control properties include general file and folder information and the file encoding type. The properties also list the pending check-in status, security information, and branching history. For more information, see.
Team Foundation Server source control properties are not viewed in Visual Studio's. They are viewed in their own Properties dialog box, as described in the procedure below.
To perform these procedures, you must have the Read and the Check out permissions set to Allow. For more information, see.
To configure source control file encoding
Open Source Control Explorer. On the View menu, choose Other Windows, and then choose Source Control Explorer.
In Source Control Explorer, click the Workspace drop-down list box in the toolbar, and choose the workspace you want to use.
Navigate to a file for which you want to view properties, right-click, and then choose Properties.
In the Properties dialog box, select the General tab.
In the General tab, click Set Encoding.
In the Set Encoding dialog box, use the Encoding drop-down list box to select the encoding base type you want to be used for the file, for example, utf-8.
Click Detect to have the system detect the file encoding scheme used with the file and populate the list box.
The set encoding results in a pending change that must be checked in.