I want to use ruby with terminal input in my windows. Why ruby community can not solve this UTF-8 issue on windows? Is it hard? I am wondering how python, java or other langs did this? I can work greatly with python on windows utf-8 with no pain.
With ruby 3.0.1
x = gets.chomp çağrı => "x87axA7rx8D" puts x �a�r� => nil x.valid_encoding? => false
I looked up this https://bugs.ruby-lang.org/issues/16604
it did not work.
Source: Windows Questions