I tried the chcp thing too :/ :

system "chcp 65001"
s = "
p s
puts s

outputs:

Active code page: 65001
""


I'm still doing something wrong :/ Any more ideas?