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.

Note

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.

Required Permissions

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

  1. Open Source Control Explorer. On the View menu, click Other Windows, and then click Source Control Explorer.

  2. In Source Control Explorer, click the Workspace drop-down list box in the toolbar, and select the workspace you want to use.

  3. Go to a file for which you want to view properties, right-click, and then click Properties.

  4. In the Properties dialog box, select the General tab.

  5. In the General tab, click Set Encoding.

  6. 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.

    Tip

    Click Detect to have the system detect the file encoding scheme used with the file and populate the list box.

  7. Click OK.

    Note

    The set encoding results in a pending change that must be checked in.

See Also

Concepts

Pending Changes

Other Resources

Working with Version Control Files and Folders