How to: Configure Version Control File Encoding
Team Foundation version 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 How to: View Version Control File and Folder Properties.
Team Foundation version control properties are not viewed in Visual Studio's Properties Window. 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 Team Foundation Server Permissions.
To configure version control file encoding
Open Source Control Explorer. On the View menu, click Other Windows, and then click Source Control Explorer.
In Source Control Explorer, click the Workspace drop-down list box in the toolbar, and select the workspace you want to use.
Go to a file for which you want to view properties, right-click, and then click 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.