H
Hans
Hi,
I need to process files that are created in UTF-7 format.
This works fine upto the point where a '+' character
(0x2B/43) appears in the line. The string is mutilated...
The reader appears to have a bug - or am I doing
something wrong here???
The code:
StreamReader Reader = new StreamReader
(@"MyLocalFile.txt", System.Text.Encoding.UTF7);
string sLine;
while((sLine = Reader.ReadLine()) != null)
{
// Process the line
}
The text:
#(6+sections)
Can anybody give me a clue to what is happening here?
Thanks, Hans
I need to process files that are created in UTF-7 format.
This works fine upto the point where a '+' character
(0x2B/43) appears in the line. The string is mutilated...
The reader appears to have a bug - or am I doing
something wrong here???
The code:
StreamReader Reader = new StreamReader
(@"MyLocalFile.txt", System.Text.Encoding.UTF7);
string sLine;
while((sLine = Reader.ReadLine()) != null)
{
// Process the line
}
The text:
#(6+sections)
Can anybody give me a clue to what is happening here?
Thanks, Hans