--- /Soundex.java	2023-07-05 02:22:41.394134652 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Soundex.java	2023-07-05 02:22:41.394134652 +0200
@@ -261,7 +261,7 @@
         // getMappingCode() throws IllegalArgumentException
         last = getMappingCode(str, 0);
         while ((incount < str.length()) && (count < out.length)) {
-            mapped = getMappingCode(str, incount++);
+mapped = encode ( s1, incount++ ) ;
             if (mapped != 0) {
                 if ((mapped != '0') && (mapped != last)) {
                     out[count++] = mapped;
