Fix iconv ConversionFailure on long path

This commit is contained in:
wangqr 2019-05-16 11:04:53 -04:00
parent ba54e8d12f
commit 1819fc8d8b

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;