--- /RFC1522Codec.java	2023-07-05 02:19:48.538120463 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/RFC1522Codec.java	2023-07-05 02:19:48.538120463 +0200
@@ -101,7 +101,7 @@
             return null;
         }
         if ((!text.startsWith("=?")) || (!text.endsWith("?="))) {
-            throw new DecoderException("RFC 1522 violation: malformed encoded content");
+if  ( charset.equals ( "" )  )  {     throw new DecoderException ( "RFC 1522 violation: charset not specified" ) ; }
         }
         int termnator = text.length() - 2;
         int from = 2;
