jonathan rochkind

Activity

Reported issues: 3

12/08/2014

08:20 PM Ruby trunk Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
Okay, thanks.
What I don't understand is, if `method_missing` is not defined in the `< DelegateClass(Object)` cla...

12/03/2014

03:23 PM Ruby trunk Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
Oh, and you can note `Kernel.raise` and `Kernel.puts` in the reproduction -- this was neccesary to actually access `r...
03:22 PM Ruby trunk Bug #10564 (Closed): DelegateClass, method_missing, and instance_eval -- different behavior in ru...
This is an odd one, I don't completely understand. But there is different behavior in ruby 2.0 vs 2.1, and the 2.0 be...

03/12/2013

10:56 AM Ruby trunk Feature #6321: Find and repair bad bytes in encodings, without transcoding
Turns out this is already built into stdlib, and has been in 1.9.3 too!
It took me nearly a year to realize it was...

07/10/2012

07:18 AM Ruby trunk Feature #6321: Find and repair bad bytes in encodings, without transcoding
Another way to solve this, rather than add a new method, could be making String#encode with `:invalid => :replace` op...
07:08 AM Ruby trunk Feature #6321: Find and repair bad bytes in encodings, without transcoding
PS: I am working on simple not-quite-yet-released gem to do this, as best as I could figure out to do in pure ruby, f...
06:55 AM Ruby trunk Feature #6321: Find and repair bad bytes in encodings, without transcoding
> Raising exception as soon as possible sounds reasonable.
> But replacing is not.
> In principle, such bad data sh...

05/17/2012

08:41 AM Ruby trunk Feature #2567: Net::HTTP does not handle encoding correctly
It actually occurs to me that I mis-read the passage quoted by naruse.
That passage is _discouraging_ heuristical...
08:38 AM Ruby trunk Feature #2567: Net::HTTP does not handle encoding correctly
It seems like encoding on _headers_ is a different question than encoding on bodies.
Perhaps encoding on _headers...

04/20/2012

10:51 PM Ruby trunk Feature #6321: Find and repair bad bytes in encodings, without transcoding
I think the use case is very common -- it is for me anyway, I think I"m not unique!
I am taking in input from an e...

Also available in: Atom