http://bugs.winehq.org/show_bug.cgi?id=22020
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-13 11:01:21 --- (In reply to comment #5)
Looks like the length calculation in bstr_to_utf8() is not correct.
Yup - it does not include terminating \0 character which is required for utf8 strings.