Encoding "UTF16LE" is not known by JRuby, but it is known by MRI 1.9 --------------------------------------------------------------------
Key: JRUBY-6177 URL: https://jira.codehaus.org/browse/JRUBY-6177 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.6.5 Reporter: Xuân Baldauf Priority: Minor {noformat} $ rvm jruby-1.6.5 do jruby --1.9 -e 'require "kconv"; require "iconv"; puts Iconv.conv("UTF16LE","UTF-8","foo".toutf8).unpack("H*")' Iconv::InvalidEncoding: invalid encoding initialize at org/jruby/RubyIconv.java:236 conv at org/jruby/RubyIconv.java:391 (root) at -e:1 {noformat} Using "UTF-16LE" works, though. -- This message is automatically generated by JIRA. 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