Issue Type: Bug Bug
Affects Versions: JRuby 1.7.4
Assignee: Unassigned
Components: Encoding
Created: 12/Aug/13 7:32 AM
Description:

In Rails, we have tests failing on JRuby because UTF-8 to UTF8-MAC Converter is Missing.

so if we run the following code on MRI, there is error

> ruby -ve 'Encoding::Converter.new(Encoding::UTF_8,Encoding::UTF_8_MAC)'                                   
ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
{/code}

But if same code is executed on JRuby-head. it leads to an Encoding::ConverterNotFoundError

> jruby -ve 'Encoding::Converter.new(Encoding::UTF_8, Encoding::UTF_8_MAC)'
jruby 1.7.5.dev (1.9.3p392) 2013-08-07 @jruby.revision@ on Java HotSpot(TM) Server VM 1.7.0_25-b15 [linux-i386]
Encoding::ConverterNotFoundError: code converter not found (UTF-8 to UTF8-MAC)
initialize at org/jruby/RubyConverter.java:160
initialize at org/jruby/RubyConverter.java:133
(root) at -e:1


Offending code can be found here.

1. Is this a known bug?
2. Any workaround that would work both on MRI(2,19) and on JRuby?

Thanks

Project: JRuby
Priority: Major Major
Reporter: Gaurish Sharma
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to