[Mono-list] Re: UTF7Encoding, not working correctly ?

ginga@kit.hi-ho.ne.jp ginga@kit.hi-ho.ne.jp
Wed, 19 Mar 2003 11:55:12 +0900


Hello,

> I'm creating a class library which I want to use with both the .NET and
> Mono runtime. Now when I run the current version (development version),
> with the .NET runtime everything works fine, the application gets some
> data from a game server and returns UTF7 encoded XML. However if I run
> the same test using the mono framework on Windows or Linux the XML is
> completely messed up.

It may be Encoding problem or XML problem (it checks xml declaration,
while actual encoding is indeterminant). Yould you please
(1)check the given utf-7 stream is readable with other classes e.g.
StreamReader and (2)post such xml you checked or mail me if it is
not small?  I tried 200kb or more utf-7-ed Japanese text xml on
Windows and got correct result (nunit tests with mscorlib).

Thanks,
  Atsushi Eno