add support for diacritics. fixes #1472