Nevermind my question, because: 
    
    
    let enc2 = encodings.open("850", "UTF-8")
    echo enc2.convert(message)
    
    
    Run

as found in my own old thread (oh my god i need sleep) works for now: 
[https://forum.nim-lang.org/t/2250#13725](https://forum.nim-lang.org/t/2250#13725)

So, on Windows the console and Powershell are using other encodings than the 
system at all? Now I'm really confused. I'd like to know whats the right way to 
fix this.

Btw. nim is not the only language with those problems.... look here:
    
    
    > racket
    Welcome to Racket v6.12.
    > 'Ö
    '´┐¢
    > (exit)
    
    > newlisp
    newLISP v.10.7.3 64-bit on Windows IPv4/6 UTF-8 libffi, options: newlisp -h
    > 'Ö
    Ö

newLISP is my preferred vehicle (I get stuff in it done!), but sometimes I want 
some nim, because that what I have seen looks so, so, promising. Anyway it 
can't print € Symbol, but ¥.

I hate encodings, and it drives me mad.

Reply via email to