You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/16 17:58:18 UTC

[jira] [Resolved] (QPID-3925) Fix string encoding support for Ruby 1.9

     [ https://issues.apache.org/jira/browse/QPID-3925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-3925.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.17
         Assignee: Ted Ross
    
> Fix string encoding support for Ruby 1.9
> ----------------------------------------
>
>                 Key: QPID-3925
>                 URL: https://issues.apache.org/jira/browse/QPID-3925
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>    Affects Versions: 0.17
>            Reporter: Darryl L. Pierce
>            Assignee: Ted Ross
>             Fix For: 0.17
>
>         Attachments: 0001-String-encoding-fixes-for-Ruby-1.9.patch
>
>
> Submitted by Will Benton <wi...@gmail.com>
> This patch ensures that all returned strings are treated as if they were of the default external encoding in Ruby 1.9. If we don't do this, then strings returned from QMF (e.g. as arguments) will have a nominal encoding of 'ASCII-8BIT' (i.e. raw bytes) and will not be comparable to strings created from within Ruby code or loaded from other sources. (Note that the ensure_encoding method could take a user-specified encoding; if it becomes necessary in the future to allow QMF users to specify encodings, this would be a straightforward change.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org