I am having a problem with a C# application that I wrote sometime ago. It worked fine after creating it and for roughly a year after. At some point within 2007 something changed on my Windows XP system whereby this application started to replace any hex A0 with hex EF BF BD.
The application is written using .net 2.0 and was created using C# VS2005 Express.
I have since recompiled it with .NET 3.5 and C# VS 2008 Express installed with no resolution to the problem.
I have tried all of the Encoding parameters to the StreamWriter class, but they all produce the same problem with the exception of ASCII which converts A0 to CF (if I remember correctly).
The file that my C# app is re-writing is an HTML file with ISO 8859-1 encoding. The hex A0 is   (in html). I wish the A0 to be left as in the original html file.
Any ideas on how to resolve this issue?
The application is written using .net 2.0 and was created using C# VS2005 Express.
I have since recompiled it with .NET 3.5 and C# VS 2008 Express installed with no resolution to the problem.
I have tried all of the Encoding parameters to the StreamWriter class, but they all produce the same problem with the exception of ASCII which converts A0 to CF (if I remember correctly).
The file that my C# app is re-writing is an HTML file with ISO 8859-1 encoding. The hex A0 is   (in html). I wish the A0 to be left as in the original html file.
Any ideas on how to resolve this issue?
Comment