Hi, At Fri, 19 Oct 2007 04:00:30 +0900, David Flanagan wrote in [ruby-core:12758]: > 1) Why do the -K, -E, and --encoding options set primary_encoding, but a > magic coding comment at the top of the file does not Thank you, fixed now. There was remained old code. > 2) What can we do with the primary_encoding= setter? Primary encoding would affect default IO encoding, pathnames, environment variables and others. But it may not be possible to get changed while running, or should not be. Also, I wonder if it should be global, not thread-local. -- Nobu Nakada