refs #18, missing small fix

This commit is contained in:
Steffen Schuemann 2019-05-18 10:31:42 +02:00
parent 5c72bacf2c
commit 40ef125494

View File

@ -1186,7 +1186,7 @@ GHC_INLINE void appendUTF8(std::string& str, uint32_t unicode)
str.push_back(static_cast<char>((unicode & 0x3f) + 128));
}
else {
str.push_back(0xfffd);
appendUTF8(str, 0xfffd);
}
}