sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit a64a3762641753a5bb4908b6df156b3f0857c01b
parent b90a0e4090c921f3c4e5a8328a7cd93072eb22f6
Author: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Date:   Fri, 14 Nov 2008 14:28:56 +0100

Do nothing on an unknown-8bit encoding.

Diffstat:
M lib/sup/util.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/util.rb b/lib/sup/util.rb
@@ -620,7 +620,7 @@ end
 
 class Iconv
   def self.easy_decode target, charset, text
-    return text if charset =~ /^x-unknown$/i
+    return text if charset =~ /^(x-unknown|unknown-8bit)$/i
     charset = case charset
                 when /UTF[-_]?8/i: "utf-8"
                 when /(iso[-_])?latin[-_]?1$/i: "ISO-8859-1"