To display the console in Windows, I use 
    
    
    import windows
    
    var str = encodings.convert(text, $GetConsoleCP(), "UTF-8")
    

It will run on any computer with Windows, regardless of language locale. Or 
just turn on the console code page UTF-8: 
    
    
    discard SetConsoleCP(65001)
    discard SetConsoleOutputCP(65001)

Reply via email to