Fix iconv ConversionFailure on long path

This commit is contained in:
wangqr 2019-05-16 11:04:53 -04:00 committed by Thomas Goyne
parent 293673fef1
commit 698c41afef

View file

@ -366,7 +366,7 @@ size_t IconvWrapper::RequiredBufferSize(std::string const& str) {
}
size_t IconvWrapper::RequiredBufferSize(const char* src, size_t srcLen) {
char buff[512];
char buff[65536];
size_t charsWritten = 0;
size_t res;