--- /Metaphone.java	2023-07-05 02:30:56.598155801 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 02:30:56.598155801 +0200
@@ -174,7 +174,7 @@
                         code.append('K') ; 
                         break ;
                     }
-                    if (isNextChar(local, n, 'H')) { // detect CH
+if  ( isNextChar ( code, n, 'H' )  )  {
                         if ((n == 0) && 
                         	(wdsz >= 3) && 
                             isVowel(local,2) ) { // CH consonant -> K consonant
