forked from mia/Aegisub
Fix iconv ConversionFailure on long path
This commit is contained in:
parent
293673fef1
commit
698c41afef
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ size_t IconvWrapper::RequiredBufferSize(std::string const& str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t IconvWrapper::RequiredBufferSize(const char* src, size_t srcLen) {
|
size_t IconvWrapper::RequiredBufferSize(const char* src, size_t srcLen) {
|
||||||
char buff[512];
|
char buff[65536];
|
||||||
size_t charsWritten = 0;
|
size_t charsWritten = 0;
|
||||||
size_t res;
|
size_t res;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue