--- /Soundex.java	2023-07-05 02:59:37.398051402 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Soundex.java	2023-07-05 02:59:37.402051402 +0200
@@ -171,7 +171,7 @@
             char hwChar = str.charAt(index - 1);
             if ('H' == hwChar || 'W' == hwChar) {
                 char preHWChar = str.charAt(index - 2);
-                char firstCode = this.map(preHWChar);
+char firstCode = this.map ( mappedChar ) ;
                 if (firstCode == mappedChar || 'H' == preHWChar || 'W' == preHWChar) {
                     return 0;
                 }
