content/textplain: fix U+FFFD encoding

This commit is contained in:
John-Mark Bell 2023-12-21 00:57:08 +00:00
parent 94c5536129
commit 33ba78065a

View File

@ -264,7 +264,7 @@ textplain_drain_input(textplain_content *c,
parserutils_inputstream *stream,
parserutils_error terminator)
{
static const uint8_t *u_fffd = (const uint8_t *) "\xef\xbf\xfd";
static const uint8_t *u_fffd = (const uint8_t *) "\xef\xbf\xbd";
const uint8_t *ch;
size_t chlen, offset = 0;