diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2023-12-21 00:57:08 +0000 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2023-12-21 00:57:08 +0000 |
commit | 33ba78065a5121fb5485a16ca7025056019d5058 (patch) | |
tree | 40bf714a3fb401bc0a99e7b775083a112d8c09c5 /content/handlers | |
parent | 94c5536129b1e047f787ae13bc7dd52505977315 (diff) | |
download | netsurf-33ba78065a5121fb5485a16ca7025056019d5058.tar.gz netsurf-33ba78065a5121fb5485a16ca7025056019d5058.tar.bz2 |
content/textplain: fix U+FFFD encoding
Diffstat (limited to 'content/handlers')
-rw-r--r-- | content/handlers/text/textplain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/text/textplain.c b/content/handlers/text/textplain.c index 60051f5c9..cee89a1a5 100644 --- a/content/handlers/text/textplain.c +++ b/content/handlers/text/textplain.c @@ -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; |