diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Replace non-ASCII output glyphs with ASCII
Diffstat (limited to 'source/ui-atom.c')
-rw-r--r--source/ui-atom.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-atom.c b/source/ui-atom.c
index b0adbf1..bc13367 100644
--- a/source/ui-atom.c
+++ b/source/ui-atom.c
@@ -24,8 +24,8 @@ static const char *feed_date(timestamp_t when)
return show_date(when, 0, date_mode_from_type(DATE_ISO8601_STRICT));
}
-// U+FFFD, which stands in for every byte the feed cannot carry.
-#define XML_REPLACEMENT "\xef\xbf\xbd"
+// Stands in for every byte the feed cannot carry.
+#define XML_REPLACEMENT "?"
/*
* How many bytes the UTF-8 sequence at p holds, or 0 when the bytes there are