tag:help.rubygems.org,2010-01-19:/discussions/questions/72-about-utf-8-handling-on-rubygems-on-cruby-18-mode-in-jrubyRubyGems.org: Discussion 2015-08-18T13:46:39Ztag:help.rubygems.org,2010-01-19:Comment/85238192011-09-23T15:16:20Z2015-08-17T20:21:41ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>Added Charlie Nutter to this one, any idea? Is this bug still
happening on RubyGems 1.8.10?</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/85238192012-07-02T22:50:24Z2015-08-17T20:21:42ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>It looks like this is still happening in rubygems 1.8.24. Is
there a published patch?</p></div>michael_lee_squirestag:help.rubygems.org,2010-01-19:Comment/85238192012-07-03T00:57:17Z2015-08-17T20:21:42ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>Is there a JRuby bug here? Something I can reproduce?</p></div>Charles Oliver Nuttertag:help.rubygems.org,2010-01-19:Comment/85238192012-07-03T15:27:20Z2015-08-17T20:21:41ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>Everything I've seen says that this is a rubygems bug, not a bug
in the<br>
ruby base. They have a check for 'Encoding' to decide to use utf-8,
but<br>
that constant can exist from arbitrary gem, not just 1.9.</p>
<p>Michael</p></div>michael_lee_squirestag:help.rubygems.org,2010-01-19:Comment/85238192012-07-03T20:21:05Z2015-08-17T20:21:42ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>RubyGems now uses feature detection instead of version
detection. Since the Encoding class is part of ruby in versions
> 1.9 you will not be able to upgrade code defining the Encoding
constant.</p>
<p>While this negatively impacts ruby 1.8 users, I don't see a
compelling reason to switch away from feature detection since the
code is not portable across ruby versions.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/85238192012-07-03T20:46:07Z2015-08-17T20:21:42ZAbout UTF-8 handling on rubygems on CRuby 1.8 mode in JRuby<div><p>When you say "RubyGems now uses feature detection instead of
version detection.", what version of rubygems is that change in?
I'm using 1.8.24 and it has the problem.</p></div>michael_lee_squires