Yukihiro Matsumoto wrote: > Hi, > > In message "Re: primary encoding and source encoding" > on Fri, 9 Nov 2007 15:11:12 +0900, Nobuyoshi Nakada <nobu / ruby-lang.org> writes: > > |It's planned, but we have no mappings from locale name to > |encoding name. Attached is a quick hack I tried the week > |before last. > > Hack is far better than nothing. Can you commit? > > matz. > Now that primary encoding can be explicitly set, I wonder if the -v option should be modified to report the primary encoding in use. For example: ruby 1.9.0 (2007-11-08 patchlevel 0) [i686-linux] {UTF-8} I will do this if you want it. David