[Mono-dev] Bug in System.Web.HttpWriter
Miguel de Icaza
miguel at ximian.com
Sun Sep 10 15:49:11 EDT 2006
> In case of ResponseEncoding="utf-16", HttpWriter will write crlf not in
> utf-16 format.
> Please look at the attached patch that fixes the problem.
The patch looks good, but could you change this to call directly:
Write (newline, 0, 2);
So that we avoid the extra check (we already know its non-null, and the
override wont check that).
More information about the Mono-devel-list