Given the following code: string x = "Copyright © 1999"; // contains copyright symbol, char 169 (0xA9) StreamWriter f = File.CreateText(@"c:\t.out"); f.WriteLine(x); f.Close();
What it writes to the file for the copyright character is UTF-8 encoding (two bytes). What is the trick to get it to write the single character 169 (copyright char in codepage 1252)? Thanks. Kyle Alons http://www.kinook.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.