Fix char coding.