From: "NAKAMURA, Hiroshi" Date: 2003-11-21T12:21:17+09:00 Subject: [ruby-dev:21989] Re: [ruby-cvs] ruby, ruby/lib, ruby/test/fileutils: * lib/fileutils.rb (fu_same?): check by inode instead of path name, to detect two hard links pointing to the same content. なひです。 > From: "Siena. / SHINAGAWA, Norihide" > Sent: Thursday, November 20, 2003 1:36 AM > Index: ruby/lib/xsd/charset.rb > =================================================================== > RCS file: /src/ruby/lib/xsd/charset.rb,v > retrieving revision 1.2 > diff -u -p -2 -r1.2 charset.rb > --- ruby/lib/xsd/charset.rb 28 Sep 2003 09:33:59 -0000 1.2 > +++ ruby/lib/xsd/charset.rb 19 Nov 2003 14:40:56 -0000 > @@ -42,5 +42,5 @@ public > EncodingConvertMap[['EUC' , 'UTF8']] = Proc.new { |str| IconvCharset.safe_iconv("utf-8", "euc-jp", str) } > EncodingConvertMap[['EUC' , 'SJIS']] = Proc.new { |str| IconvCharset.safe_iconv("shift-jis", "euc-jp", str) } > - if /(mswin|bccwin|mingw|cygwin)/ =~ RUBY_PLATFORM > + if /(mswin|bccwin|mingw|cygwin|emx)/ =~ RUBY_PLATFORM > EncodingConvertMap[['UTF8', 'SJIS']] = Proc.new { |str| IconvCharset.safe_iconv("cp932", "utf-8", str) } > EncodingConvertMap[['SJIS', 'UTF8']] = Proc.new { |str| IconvCharset.safe_iconv("utf-8", "cp932", str) } ありがとうございました。とりあえずsoap4rのほうのリポジトリに 取り込みました。emxはcp932なんですね。