...or how HTML editor handles file encoding. First, Visual Studio is a Unicode application and actually even supports Unicode Surrogates Pairs . Most of Web pages, however, are not stored in Unicode. Therefore when opening a Web page VS has to figure