Closed headius closed 1 year ago
@hsbt Has this repository been synced with the CRuby repository recently?
@headius Yes, they are completely same files with ruby/ruby HEAD.
@headius Should we merge this for a new release?
Yes this can be merged and released. I had wanted to add some tests for the encoding behavior but never got around to it.
Merging this was perhaps a little premature but it does not hurt anything and allows the encoding keyword to be passed without error. There's still work to be done to hook up the encoding to all of the I/O methods, but without tests for that behavior it's hard to know whether I'm implementing it right. In any case, I will handle the additional work myself and it's not necessary for this release.
This PR will add support for the
encoding
keyword toinitialize
in the JRuby extension.Unfortunately there appears to be no tests for this behavior, so adding some may have to be part of this work.