Fix encoding issue on import