Affects Version/s: 1.5, 1.11
Fix Version/s: 1.12
The algorith for cologne phonetic is (simpilied):
- Encode letter by letter from left to right according to the conversion table.
- Remove all digits occurring more than once next to each other.
- Remove all code "0" except at the beginning.
Characters which are not specified in conversion table (such as hyphens) are ignored. See https://en.wikipedia.org/wiki/Cologne_phonetics
If the input is "test-test" the step results will be:
The expected result for "test-test" is therefor 28282.
The actual result for "test-test" is 282282.
This bug is caused by the fix from
and is present since 1.5