Skip to content
  • Marius Gerbershagen's avatar
    fix encoding issues on windows console streams · 892a34e6
    Marius Gerbershagen authored
    Always use the byte sized input/output operations ReadConsoleA/WriteConsoleA
    and do all the conversion to unicode by ourself.
    
    Moreover, expand the set of known encodings for Windows codepages and print
    a warning if we encounter an unsupported codepage.
    
    Fixes #582.
    892a34e6