hack for strange UTF8 conversion issues (e.g. Mac vs Linux etc.)