String encoding lost in interpolated expression
-----------------------------------------------

                 Key: JRUBY-5278
                 URL: http://jira.codehaus.org/browse/JRUBY-5278
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6
         Environment: Debian GNU/Linux 6.0 (squeeze), OpenJDK 6, Intel Core i5
            Reporter: Nicholas Jefferson
            Priority: Minor


{noformat}
# encoding: UTF-8

require 'test/minirunit'

# pass:
test_equal Encoding::UTF_8, "x".encoding
test_equal Encoding::UTF_8, ("x" + "x").encoding
test_equal Encoding::UTF_8, "#{"x"}".encoding

# fail:
test_equal Encoding::UTF_8, "#{"x" + "x"}".encoding
{noformat}


-- 
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


Reply via email to