[MacRuby] #1268: force_encoding on NSStrings with Net::HTTP

MacRuby ruby-noreply at macosforge.org
Thu Jun 2 19:47:32 PDT 2011


#1268: force_encoding on NSStrings with Net::HTTP
-----------------------------------+----------------------------------------
 Reporter:  eric@…                 |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  blocker                |   Milestone:                       
Component:  MacRuby                |    Keywords:                       
-----------------------------------+----------------------------------------

Comment(by lsansonetti@…):

 #force_encoding will not be implemented on NSStrings. The #String method
 can be used to return a RubyString.

 However, if net/http is using #force_encoding on a given string without
 making a copy, then it may be a problem that we can fix in net/http
 itself.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1268#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list