--- /Soundex.java	2023-07-05 02:22:38.430134449 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Soundex.java	2023-07-05 02:22:38.434134449 +0200
@@ -264,8 +264,9 @@
             mapped = getMappingCode(str, incount++);
             if (mapped != 0) {
                 if ((mapped != '0') && (mapped != last)) {
-                    out[count++] = mapped;
-                }
+ 
+out[(count++)] = mapped; 
+ 
                 last = mapped;
             }
         }
