[MacRuby] #966: MacRuby encoding error with Mail gem

MacRuby ruby-noreply at macosforge.org
Sun Oct 24 14:52:52 PDT 2010


#966: MacRuby encoding error with Mail gem
-----------------------------------+----------------------------------------
 Reporter:  andre.lewis@…          |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  critical               |   Milestone:  MacRuby 0.7          
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------
 With MacRuby 0.71 and mail (2.2.7), I get:

 {{{
 irb(main):002:0> require "rubygems"
 => true
 irb(main):003:0> require "mail"
 Encoding::CompatibilityError: incompatible character encodings: UTF-8 and
 ASCII-8BIT
 }}}


 It seems to come down to an encoding issue in
 http://github.com/mikel/mail/commits/master/lib/mail/patterns.rb,
 specifically forcing encoding on 'control'.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/966>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list