Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This has been found while updating ruby-mp3info to version 0.7.1, as the tests fail when they try to convert to utf16, the problem should be this code:

      def self.ruby_18_encode(from, to, value)
      begin
      Iconv.iconv(to, from, value).first
      rescue Iconv::Failure
      value
      end
      end

      Of course it should be easier when moving to 1.7 which iirc defaults to Ruby 1.9 syntax.

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Hmmm...I checked out the ruby-mp3info repository and the tests all successfully on JRuby master, in both 1.8 and 1.9 mode. What's the issue here?

        Show
        Charles Oliver Nutter added a comment - Hmmm...I checked out the ruby-mp3info repository and the tests all successfully on JRuby master, in both 1.8 and 1.9 mode. What's the issue here?
        Hide
        Charles Oliver Nutter added a comment -

        No follow-up and iconv is deprecated in 1.9 mode.

        Show
        Charles Oliver Nutter added a comment - No follow-up and iconv is deprecated in 1.9 mode.
        Charles Oliver Nutter made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Thomas E Enebo [ enebo ] Charles Oliver Nutter [ headius ]
        Resolution Incomplete [ 4 ]

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Diego Elio Pettenò
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: