--- /QuotedPrintableCodec.java	2023-07-05 02:21:17.634128397 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QuotedPrintableCodec.java	2023-07-05 02:21:17.638128397 +0200
@@ -380,7 +380,7 @@
      *                  Thrown if the charset is not supported
      */
     public String encode(String pString, String charset) throws UnsupportedEncodingException {
-        if (pString == null) {
+if  ( charset == null )  {
             return null;
         }
         return new String(encode(pString.getBytes(charset)), CharacterEncodingNames.US_ASCII);
