mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6deeaf6226
commit
0f0f79d34b
5 changed files with 15 additions and 23 deletions
|
@ -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 = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue