IConv.conv ignores //IGNORE flag into the encoding parameter
------------------------------------------------------------

                 Key: JRUBY-4091
                 URL: http://jira.codehaus.org/browse/JRUBY-4091
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: David Calavera


This code fails

{noformat}
require 'iconv'
require 'stringio'
non_utf8 = "\xa4"
utf8 = Iconv.conv('UTF-8//IGNORE', 'UTF-8', non_utf8)
puts utf8 == non_utf8 # returns true, which is wrong
{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