support multi-byte strings on Windows by mattn · Pull Request #343 · charmbracelet/bubbletea

On Windows, it use double-byte character sets not UTF-8. So ReadFile return DBCS bytes. it should be converted to UTF-8.