Yukihiro Matsumoto wrote: > > |3) The primary encoding is associated with the string or file that > |the parser is going to parse, and thus the primary encoding is used as > |the default source encoding for the script. > > The role for the primary encoding is the default for file I/O, nothing > more. It does (should) not affect the source encoding at all. > So -K should *not* set the source encoding if the script does not have a coding comment? Won't that cause compatibility problems? My understanding of -K in 1.8 is that it sets something closer to source encoding than to primary encoding. David