--- /Soundex.java	2023-07-05 02:59:52.114050878 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Soundex.java	2023-07-05 02:59:52.118050879 +0200
@@ -262,7 +262,7 @@
         last = getMappingCode(str, 0);
         while ((incount < str.length()) && (count < out.length)) {
             mapped = getMappingCode(str, incount++);
-            if (mapped != 0) {
+if  ( mapped == 0 )  {
                 if ((mapped != '0') && (mapped != last)) {
                     out[count++] = mapped;
                 }
