[MacRuby-devel] [MacRuby] #741: All character encoding of the string become UTF-8 when use force_encoding.

MacRuby ruby-noreply at macosforge.org
Tue Jun 22 14:40:58 PDT 2010


#741: All character encoding of the string become UTF-8 when use force_encoding.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  vincent.isambart@…        
     Type:  defect                |      Status:  new                       
 Priority:  blocker               |   Milestone:                            
Component:  MacRuby               |    Keywords:                            
----------------------------------+-----------------------------------------

Comment(by vincent.isambart@…):

 The Shift_JIS and EUC-JP support are indeed probably not very good, but
 that's not the problem here.
 The problem is in gsub: the encoding of $1 is always UTF-8. It should be
 the same as the encoding of the original string.

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



More information about the MacRuby-devel mailing list