From: Yukihiro Matsumoto Date: 2005-05-12T12:35:21+09:00 Subject: Re: Encoding Pragma Hi, In message "Re: Encoding Pragma" on Thu, 12 May 2005 09:21:31 +0900, nobu.nokada@softhome.net writes: |At Thu, 12 May 2005 08:03:48 +0900, |Bertram Scharpf wrote in [ruby-core:04881]: |> Why don't I retrieve the UTF-8 answer in the first case? | |Although ruby doesn't have pragma right now, I'm using this |patch. Does this patch switch encodings in the middle of the file? Python pragma should appear in the first 2 lines at the top of the file[1]. I think Python's rule is more appropriate. And you can commit a patch with above rule to the HEAD. I wanted the pragma for long time. matz. [1] http://www.python.org/peps/pep-0263.html