On Wed, 2012-07-11 at 15:03 +0000, Oleg Jakobsen wrote:
@@ -203,6 +203,7 @@ BOOL decode_streamname(LPCWSTR in, LPWSTR out) *out++ = mime2utf(ch&0x3f); count++; ch = mime2utf((ch>>6)&0x3f);
continue; } } *out++ = ch;
Why is it incorrect? It seems to me that the upper bits should be written as the next character but now you are discarding them.