[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:22345

From: matz ruby-lang.org
Date: Fri, 18 Jan 2008 13:49:15 +0900 (JST)
Subject: [ruby-cvs:22345] Ruby:r15108 (trunk): * string.c (rb_str_dump): preserve the encoding of source string

matz	2008-01-18 13:49:14 +0900 (Fri, 18 Jan 2008)

  New Revision: 15108

  Modified files:
    trunk/ChangeLog
    trunk/string.c

  Log:
    * string.c (rb_str_dump): preserve the encoding of source string
      if it is ASCII compatible.  otherwise, add '.force_encoding()'
      for ugly work around.  maybe we should implement some other way
      to keep non ASCII encoding in dumped string.  [ruby-dev:33142]

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=15108&r2=15107&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15108&r2=15107&diff_format=u


[前][次][番号順一覧][スレッド一覧][生データ]