diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-14 17:05:15 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-14 17:05:15 +0000 |
| commit | 764f1789b2d97ea84b3187164292afca96434d76 (patch) | |
| tree | 31c26322ae72b38a588539c3a6021c19556b6417 /lib/rdoc | |
| parent | e1f335302dae9e62788505d2fef993d0114725a4 (diff) | |
| download | ruby-764f1789b2d97ea84b3187164292afca96434d76.tar.gz ruby-764f1789b2d97ea84b3187164292afca96434d76.tar.xz ruby-764f1789b2d97ea84b3187164292afca96434d76.zip | |
* lib/rdoc/options.rb (Options::parse): do not access $KCODE any
longer. [ruby-core:14079]
* lib/irb/init.rb (IRB::IRB.parse_opts): ditto.
* lib/cgi.rb (CGI::CGI): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
| -rw-r--r-- | lib/rdoc/options.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index bea7e6bdc..84d92424a 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -375,14 +375,7 @@ class Options @css = nil @webcvs = nil - @charset = case $KCODE - when /^S/i - 'Shift_JIS' - when /^E/i - 'EUC-JP' - else - 'iso-8859-1' - end + @charset = 'iso-8859-1' accessors = [] |
