[ruby-core:118568] [Ruby master Bug#20622] irb: invalid byte sequence in UTF-8
From:
"chmaynard (Craig Maynard) via ruby-core" <ruby-core@...>
Date:
2024-07-11 21:59:41 UTC
List:
ruby-core #118568
Issue #20622 has been updated by chmaynard (Craig Maynard).
Good advice, thanks. Problem solved by changing the encoding of ~/.inputrc to UTF-8.
----------------------------------------
Bug #20622: irb: invalid byte sequence in UTF-8
https://bugs.ruby-lang.org/issues/20622#change-109090
* Author: chmaynard (Craig Maynard)
* Status: Open
* ruby -v: ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
Ruby $ irb
/opt/homebrew/Cellar/ruby/3.3.3/lib/ruby/3.3.0/reline/config.rb:172:in `match': invalid byte sequence in UTF-8 (ArgumentError)
next if line.match(/\A\s*#/)
^^^^^^^^
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/