I think everything works now. Reading, writing, word-wrap, input. All UTF-8.