Hi,

In message "Re: [ruby-core:19250] default_internal encoding"
    on Fri, 10 Oct 2008 03:11:13 +0900, Dave Thomas <dave / pragprog.com> writes:

|I'm documenting default_internal for the PickAxe, and have a couple of  
|questions:
|
|1. Right now I can set it via -E ext:int.  However, I don't seem able  
|to set it via the magic comment.
|
|   # encoding: iso-8859-1:utf-8
|   p __ENCODING__     #=> iso-8859-1
|   p Encoding.default_internal  #=> nil

I think default_internal is a per process (or VM) state so that magic
comment (which assumes per file default_internal) is not appropriate. 

|2. Matz was talking about adding a -U command line option. Will that  
|be added at some point?

Yes, I will add -U (which works like -E:utf-8) after the deadline I am
facing right now.

							matz.