This project is read-only.
1
Vote

Multibyte filenames

description

Hi!

I found that the class saves files incorrectly if filename contains multibyte characters. So I added
startIndex = Encoding.UTF8.GetByteCount( content.Substring( 0, startIndex ) );
after
int startIndex = contentTypeMatch.Index + contentTypeMatch.Length + "\r\n\r\n".Length;

comments