On Fri, 03 Jul 2020 18:40:09 +0200 Christoph Anton Mitterer wrote: > On Fri, 2020-07-03 at 18:08 +0200, Francesco Poli wrote: [...] > > What is "en_DE.UTF-8", exactly? [...] > > Could this non-existent locale maybe confuse the ruby-unicode > > library? > > No it is existent... it's just my own locale... which is basically just > a modification of en_US ... that is everything English, but ISO > conformant date/time formats, "," as decimal separator and things like > that. > > Never made a problem so far (and I've been using this for decades ;-) > ).
Ah, OK, so you created it and manually installed it on your system. Well, it could be that the ruby-unicode library has some subtle bug which makes it fail (sometimes) with your custom locale. Or maybe it's the other way around, I don't know. [...] > Well, as said, it didn't even happen with the same locale... Let's try the following strategy. If you can (at least sporadically) reproduce the error with the following minimal Ruby script, please file a bug report against the ruby-unicode library. The script is: $ cat unicode-ruby.rb #!/usr/bin/ruby require 'unicode' puts Unicode.width("รจ") After giving it execution permissions: $ chmod +x unicode-ruby.rb just run it: $ ./unicode-ruby.rb 1 If it fails with your locale, then there seems to be some incompatibility between your custom locale and ruby-unicode. On the other hand, if you never see any errors with the minimal script or again with apt-listbugs, then the issue seems to be unreproducible. In the meanwhile, I will close this bug report, since the bug does not seem to be in package apt-listbugs. Do you agree with this plan? -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpPtLXtYAkHb.pgp
Description: PGP signature