From: Eric Wong Date: Sat, 4 Apr 2020 08:03:15 +0000 (+0000) Subject: view: note we assume UTF-8 on unknown encodings X-Git-Tag: v1.4.0~29 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=321fcd4881bc196521466c6698f7c4b4a4bb5360 view: note we assume UTF-8 on unknown encodings Clarify that we're assuming the text is UTF-8, since users may have no idea how it's mangled. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 70c10604..d897aeec 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -518,7 +518,9 @@ sub attach_link ($$$$;$) { my $rv = $ctx->{obuf}; $$rv .= qq($nl{mhref}$idx-$sfn">); if ($err) { - $$rv .= "[-- Warning: decoded text below may be mangled --]\n"; + $$rv .= <