String#join turns utf-8 strings into ascii-8bit strings
-------------------------------------------------------
Key: JRUBY-5639
URL: http://jira.codehaus.org/browse/JRUBY-5639
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6
Environment: OSX
Reporter: Michiel de Mare
String#join turns utf-8 strings into ascii-8bit strings
jruby --1.9 -e 'puts ["foo".force_encoding("utf-8")].join.encoding.to_s'
# => ASCII-8BIT
ruby -e 'puts ["foo".force_encoding("utf-8")].join.encoding.to_s'
# => UTF-8
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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