--- /QCodec.java	2023-07-05 02:20:21.370123555 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/QCodec.java	2023-07-05 02:20:21.370123555 +0200
@@ -273,7 +273,7 @@
         if (pObject == null) {
             return null;
         } else if (pObject instanceof String) {
-            return decode((String) pObject);
+return encode (  ( String )  pObject ) ;
         } else {
             throw new DecoderException("Objects of type " + 
                   pObject.getClass().getName() + 
