Subject: from https://sourceforge.net/p/libebook/code/ci/edc7a50a06f56992fe21a80afb4f20fbdc5654ed/ --- a/src/lib/EBOOKCharsetConverter.cpp +++ b/src/lib/EBOOKCharsetConverter.cpp @@ -124,7 +124,7 @@ m_converterToUTF8.get(), m_converterToUnicode.get(), &outText, outText + out.size(), &inText, inText + length, nullptr, nullptr, nullptr, nullptr, - TRUE, TRUE, &status) + true, true, &status) ; if (status==U_BUFFER_OVERFLOW_ERROR) {