How TFS Version Control determines a file’s encoding
TFS Version Control will automatically detect a file's encoding based upon the following. The only exception to the foregoing is PDF files. Those are always detected as binary because they are so common and can be all text in the first 1 kilobyte with binary streams later in the file. The detection is based on the signature, "%PDF-",...