phoneme-converter: add an improved diacritic handler to the IPA code chart generator