[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23101] Re: What all does -U do?

From: James Gray <james@...>
Date: 2009-04-01 22:05:24 UTC
List: ruby-core #23101
On Mar 30, 2009, at 10:45 AM, James Gray wrote:

> The -U switch isn't listed in Ruby's help (-h).
>
> The new Pickaxe says it just sets the default internal encoding to  
> UTF-8.  However, matz hinted that it may affect the default external  
> encoding as well, here:
>
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/19552
>
> Can I get the official list of everything it changes please?  Thanks!

As near as I can tell from various tests, it only affects  
Encoding.default_internal() as the Pickaxe says.

James Edward Gray II

In This Thread

Prev Next