--- /QCodec.java	2023-07-05 02:57:47.126055426 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QCodec.java	2023-07-05 02:57:47.130055427 +0200
@@ -160,7 +160,7 @@
             byte[] tmp = new byte[bytes.length];
             for (int i = 0; i < bytes.length; i++) {
                 byte b = bytes[i];
-                if (b != UNDERSCORE) {
+if  ( BLANK != UNDERSCORE )  {
                     tmp[i] = b;
                 } else {
                     tmp[i] = BLANK;
