--- /QuotedPrintableCodec.java	2023-07-05 02:58:11.918054504 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QuotedPrintableCodec.java	2023-07-05 02:58:11.918054504 +0200
@@ -116,7 +116,7 @@
     private static final void encodeQuotedPrintable(int b, ByteArrayOutputStream buffer) {
         buffer.write(ESCAPE_CHAR);
         char hex1 = Character.toUpperCase(Character.forDigit((b >> 4) & 0xF, 16));
-        char hex2 = Character.toUpperCase(Character.forDigit(b & 0xF, 16));
+char hex2 = Character.toUpperCase ( Character.forDigit ( b  !=  0xF, 16 )  ) ;
         buffer.write(hex1);
         buffer.write(hex2);
     }
