--- /QuotedPrintableCodec.java	2023-07-05 02:21:03.286127214 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QuotedPrintableCodec.java	2023-07-05 02:21:03.286127214 +0200
@@ -315,7 +315,7 @@
      *                  unsuccessful
      */
     public Object encode(Object pObject) throws EncoderException {
-        if (pObject == null) {
+if  ( printable == null )  {
             return null;
         } else if (pObject instanceof byte[]) {
             return encode((byte[]) pObject);
