General

Profile

cohen (Cohen Carlisle)

  • Login: cohen
  • Registered on: 01/08/2019
  • Last sign in: 02/21/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

02/21/2026

03:02 PM Ruby Bug #21921: Hash inconsistent ==, >=, <= behavior
This has not affected any real-world app I use. I noticed this while working on a bidirectional hash gem (bihash@rubygems).
However, I don't think the behavior is consistent with the spec as written:
The spec merely says that keys are c...
cohen (Cohen Carlisle)
02:31 AM Ruby Bug #21921 (Open): Hash inconsistent ==, >=, <= behavior
Hash seems to have very inconsistent behavior for `==`, `>=`, and `<=`.
Given that below h1 == h2 is `false` and that they have the same number of keys, I would expect `<=` and `>=` to also be `false`.
However, surprisingly `h1 <= h2` ...
cohen (Cohen Carlisle)

01/19/2019

03:30 AM Ruby Feature #15517: Net::HTTP not recognizing valid UTF-8
I'm not sure I think this is exactly the same as https://bugs.ruby-lang.org/issues/2567, as that one has focused on using the HTTP headers to guess the content type. Here I'm pointing out that ASCII-only strings are recognized as UTF8, b... cohen (Cohen Carlisle)

01/08/2019

04:13 PM Ruby Feature #15517 (Closed): Net::HTTP not recognizing valid UTF-8
I created a case at https://github.com/Cohen-Carlisle/utf8app that shows Net::HTTP labeling a response body as ASCII-8BIT encoded because it contains a non-ascii character (specifically, the double prime symbol: ″), but recognizing ascii... cohen (Cohen Carlisle)

Also available in: Atom