try to fix the char encoding