Correctly handle non-ascii characters in soundex