i18n: fix encoding issue with accented characters