From aa06e69000ef8e1ba440925462672f359f91c48d Mon Sep 17 00:00:00 2001 From: yugui Date: Fri, 12 Dec 2008 05:25:39 +0000 Subject: * encoding.c (enc_get_default_encoding): removed. Generalizing rb_default_{external,internal}_encoding seems to be difficult. default_external cannot be NULL even before detected. [ruby-dev:37390] * encoding.c (rb_default_external_encoding): has its own implementation again. * encoding.c (rb_default_internal_encoding): ditto. * gem_prelude.rb: added notice. * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): uses locale encoding but not ASCII-8BIT. * ruby.c (process_options): refers less to default_external. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gem_prelude.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gem_prelude.rb') diff --git a/gem_prelude.rb b/gem_prelude.rb index ddc56c87d1..406f40fe5a 100644 --- a/gem_prelude.rb +++ b/gem_prelude.rb @@ -2,6 +2,10 @@ # vim: filetype=ruby # THIS FILE WAS AUTOGENERATED, DO NOT EDIT +# NOTICE: Ruby is during initialization here. +# * Encoding.default_external does not reflects -E. +# * Should not expect Encoding.default_internal. +# * Locale encoding is available. if defined?(Gem) then module Kernel -- cgit v1.2.3