Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1054

Show
Ignore:
Timestamp:
11/21/03 00:30:16 (5 years ago)
Author:
nahi
Message:

* Use cp932 under emx. Patched by Siena. / SHINAGAWA, Norihide in

[ruby-dev:21972]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/xsd/charset.rb

    r987 r1054  
    4242      EncodingConvertMap[['EUC' , 'UTF8']] = Proc.new { |str| IconvCharset.safe_iconv("utf-8", "euc-jp", str) } 
    4343      EncodingConvertMap[['EUC' , 'SJIS']] = Proc.new { |str| IconvCharset.safe_iconv("shift-jis", "euc-jp", str) } 
    44       if /(mswin|bccwin|mingw|cygwin)/ =~ RUBY_PLATFORM 
     44      if /(mswin|bccwin|mingw|cygwin|emx)/ =~ RUBY_PLATFORM 
    4545        EncodingConvertMap[['UTF8', 'SJIS']] = Proc.new { |str| IconvCharset.safe_iconv("cp932", "utf-8", str) } 
    4646        EncodingConvertMap[['SJIS', 'UTF8']] = Proc.new { |str| IconvCharset.safe_iconv("utf-8", "cp932", str) }