Public bug reported: Howdy,
After the update of ruby2.5 (2.5.1-1ubuntu1.4) I started getting this error "incompatible character encodings: ASCII-8BIT and UTF-8" intermittently, depending on contents. I copied /usr/lib/ruby/2.5.0/openssl/buffering.rb (as mentioned in the root of the traceback) over from buster/testing and the issues went away. When using 'file' to check the output documents for what failed in Ubuntu vs the ones that didn't, I got the following results: Works: "HTML document, UTF-8 Unicode text, with very long lines" Fails: "HTML document, UTF-8 Unicode text, with very long lines, with CRLF, LF line terminators" The diff of buffering.rb between Ubuntu and Debian is attached. ** Affects: ruby2.5 (Ubuntu) Importance: Undecided Status: New ** Attachment added: "buffering.patch" https://bugs.launchpad.net/bugs/1835968/+attachment/5275940/+files/buffering.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1835968 Title: Regression in backported patch for openssl 1.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby2.5/+bug/1835968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs