http://bugs.winehq.org/show_bug.cgi?id=8077
------- Additional Comments From jacek@codeweavers.com 2007-26-04 11:24 ------- Created an attachment (id=5954) --> (http://bugs.winehq.org/attachment.cgi?id=5954&action=view) Fix offset in OnDataAvailable call.
Thanks for finding it out. Unfortunately your patch is wrong. This->readed must be updated before OnDataAvailable call because This->nsstream->buf_size is zeroed later. Please try if attached patch helps.
Btw, to test utf-16 encoded page you can run wine iexplore about:blank and check if the page is really blank.