oneclick / rubyinstaller2

MSYS2 based RubyInstaller for Windows
https://rubyinstaller.org
BSD 3-Clause "New" or "Revised" License
646 stars 248 forks source link

Encoding? Problem in irb 3.1.0 (Windows 10) #259

Closed nerdcraft-muc closed 2 years ago

nerdcraft-muc commented 2 years ago

What problems are you experiencing?

Since the update to 3.1.0 via RubyInstaller under Win 10 there is a problem with alt gr in irb. When I try to enter "{" ( German keyboard "alt gr + {" ) I get "^[{".

3.0.2 was working fine.

Steps to reproduce

open irb enter alt gr + {

What's the output from ridk version?

ruby: path: C:/Ruby31-x64 version: 3.1.0 platform: x64-mingw-ucrt ruby_installer: package_version: 3.1.0-1 git_commit: a1972fd msys2: path: C:\Ruby31-x64\msys64 cc: gcc (Rev5, Built by MSYS2 project) 11.2.0 sh: GNU bash, Version 5.1.8(1)-release (x86_64-pc-msys) os: Microsoft Windows [Version 10.0.19044.1415]

irb

larskanis commented 2 years ago

This issue is fixed in reline. There's no release yet, but for the time being, you can update reline like so:

git clone https://github.com/ruby/reline
cd reline
rake install
nerdcraft-muc commented 2 years ago

Thanks a lot!