mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 17:23:09 +03:00
content/textplain: fix U+FFFD encoding
This commit is contained in:
parent
94c5536129
commit
33ba78065a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user