ruby-cvs:18173
From: (naruse) <naruse ruby-lang.org>
Date: Fri, 15 Sep 2006 20:26:08 +0900
Subject: [ruby-cvs:18173] ruby, ruby/ext/nkf, ruby/ext/nkf/lib, ruby/ext/nkf/nkf-utf8: * ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
naruse Fri, 15 Sep 2006 20:26:08 +0900
Modified files:
ruby:
ChangeLog
ruby/ext/nkf:
nkf.c
ruby/ext/nkf/lib:
kconv.rb
ruby/ext/nkf/nkf-utf8:
nkf.c
Log:
* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
* Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32.
* Add support --ic=UTF-32.
* Fix: can't guess UTF-16 and UTF-32.
* Fix: can't decode beyond BMP of UTF-16LE.
* ext/nkf/nkf.c (guess): Support UTF-32.
* ext/nkf/lib/kconv.rb (kconv): Support UTF-32.
* ext/nkf/lib/kconv.rb (to_utf32): new method.
* ext/nkf/lib/kconv.rb (to_utf32): new method.
Revision Changes Path
1.5375 +14 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.5374&r2=1.5375
1.16 +31 -7 ruby/ext/nkf/nkf.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/nkf/nkf.c?cvsroot=src&r1=1.15&r2=1.16
1.18 +31 -2 ruby/ext/nkf/lib/kconv.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/nkf/lib/kconv.rb?cvsroot=src&r1=1.17&r2=1.18
1.23 +65 -32 ruby/ext/nkf/nkf-utf8/nkf.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/nkf/nkf-utf8/nkf.c?cvsroot=src&r1=1.22&r2=1.23