Public bug reported:

```
export LC_ALL=ru_RU.UTF-8
export LANG=ru_RU.UTF-8
export LANGUAGE=ru_RU.UTF-8

/usr/bin/ruby -e 'require "readline"; buf = Readline::readline ">", true; p buf'
>вдвдв`
```

With ruby build with rbenv (ruby-build) there is no such problem.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ruby3.2 3.2.3-1build3
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Tue May 28 09:49:47 2024
InstallationDate: Installed on 2024-05-22 (6 days ago)
InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
SourcePackage: ruby3.2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ruby3.2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067348

Title:
  ruby build-in readline gem do not handle utf-8 input

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby3.2/+bug/2067348/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to