Hi, At Mon, 22 Dec 2003 21:26:28 +0900, ts wrote: > 1) Error: > test_charset(SOAP::TestStreamHandler): > NameError: undefined local variable or method `num' for REXML::Encoding:Module > /usr/home/msys/decoux/local/r181/lib/ruby/1.8/rexml/encodings/US-ASCII.rb:13 Change US-ASCII.rb:3 to <<-'EOL', or try [ruby-core:01960]. > nasun% ruby -riconv -e 'p Iconv::iconv("ucs-2", "utf-8", "aa")' > -e:1:in `iconv': Invalid argument - iconv("ucs-2", "utf-8") (Errno::EINVAL) > from -e:1 > nasun% > > nasun% ruby -riconv -e 'p Iconv::iconv("UCS-2", "UTF-8", "aa")' > ["\376\377\000a\000a"] > nasun% Some iconv implementations ignore case in encoding name, but some others don't. And there is no portable way to get supported encodings list, or to know wheather case sensitive or not. Iconv library specification is quite incomplete. -- Nobu Nakada