workaround latin-8 hardcoded