iconv in 1.9 mode does not set encoding #1924

Closed
rkh opened this Issue Sep 25, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Member

rkh commented Sep 25, 2012

reference: https://next.travis-ci.org/rkh/coder/jobs/2556009

require 'iconv'
p Iconv.new("UTF-8//ignore", '').iconv('').encoding

On MRI:

#<Encoding:UTF-8>

On Rubinius:

#<Encoding:US-ASCII>

dbussink closed this in 037cd63 Sep 28, 2012

@roshats roshats added a commit to roshats/rubinius that referenced this issue Jun 26, 2014

@dbussink @roshats dbussink + roshats Use Iconv extension from MRI
Fixes #1924
6c4a3b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment