Encoding Conversion Sample ========================== This sample demonstrates how to use the System.Text.Encoding class to safely convert text files between two encodings. Sample Language Implementations =============================== This sample is available in the following language implementations: C# Visual Basic To build the sample using the command prompt: ============================================= 1. Open the Command Prompt window and navigate to one of the language-specific subdirectories under the EncodingConvertor directory. 2. Type msbuild EncodingConverterCS.sln or msbuild EncodingConverterVB.sln, depending on your choice of programming language. To build the sample using Visual Studio: ======================================= 1. Open Windows Explorer and navigate to one of the language-specific subdirectories under the EncodingConvertor directory. 2. Double-click the icon for the .sln (solution) file to open the file in Visual Studio. 3. In the Build menu, select Build Solution. The application will be built in the default \bin or \bin\Debug directory. To run the sample: ================= 1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer. 2. Type EncodingConverter.exe at the command line, or double-click the icon for EncodingConvertor.exe to launch it from Windows Explorer. Demonstrates ============ This sample demonstrates the following: System.Text.Encoding See Also ============ Other topics related to this sample that you may wish to look up in the documentation are: System.IO.StreamReader, System.IO.StreamWriter, System.Globalization