Hi, At Fri, 31 Oct 2008 19:05:25 +0900, Martin Duerst wrote in [ruby-core:19657]: > > --encoding=external:internal:source > > --external-encoding=enc > > --internal-encoding=enc > > --source-encoding=enc > > I personally don't like the last one, and the :source in the first > one, but I guess there are situations where they can be very helpful > (e.g. testing with different encodings). > > I also think that it would be good to have the values of --encoding > and -E look/work the same, so unless :source already works on -E, > I think having just --source-encoding for the case that the > source encoding must be set by an option should be okay. -E equals to --encoding. > This will also make it easier to distinguish in documentation > that --source-encoding is really only for very special occasions, > and declaring the source encoding in the script itself is strongly > preferred. Since these four options are separated, so it's easy to remove some of them. -- Nobu Nakada