Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
static void UTF16ToASCII(string file)
string contents = File.ReadAllText(file, Encoding.Unicode); // Read the file
File.WriteAllText(file, contents, Encoding.ASCII); // Re-write it as ASCII
Open in new window
Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.