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

ruby-cvs:18145

From: (matz) <matz ruby-lang.org>
Date: Mon, 11 Sep 2006 11:48:17 +0900
Subject: [ruby-cvs:18145] ruby, ruby/lib/rexml, ruby/lib/rexml/encodings: * lib/rexml/source.rb (REXML::Source::encoding): should not

matz        Mon, 11 Sep 2006 11:48:17 +0900

  Modified files:
    ruby:
      ChangeLog
    ruby/lib/rexml:
      encoding.rb source.rb
    ruby/lib/rexml/encodings:
      UTF-16.rb
  Log:
    * lib/rexml/source.rb (REXML::Source::encoding): should not
      convert the body twice.  [ruby-core:08828]
    
    * lib/rexml/encoding.rb (REXML::Encoding::encoding):
      Encoding#encoding= to return boolean value to tell if the body
      is really converted or not.
    
    * lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
      conversion library (e.g. rexml/encodings/UTF-16.rb) to have
      higher preceding.
    
    * lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
      UTF-16#decode_utf16 should work strings without BOM.
  
  Revision    Changes    Path
  1.5357      +16  -0    ruby/ChangeLog
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.5356&r2=1.5357
  1.11        +16  -14   ruby/lib/rexml/encoding.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/rexml/encoding.rb?cvsroot=src&r1=1.10&r2=1.11
  1.10        +1   -1    ruby/lib/rexml/source.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/rexml/source.rb?cvsroot=src&r1=1.9&r2=1.10
  1.6         +2   -1    ruby/lib/rexml/encodings/UTF-16.rb
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/rexml/encodings/UTF-16.rb?cvsroot=src&r1=1.5&r2=1.6


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