[Thuban-devel] .py files became binary files?

Bernhard Herzog bh at intevation.de
Thu Jun 10 15:39:02 CEST 2004


Jan-Oliver Wagner <jan at intevation.de> writes:

> On Thu, Jun 10, 2004 at 03:21:33PM +0200, Martin Schulze wrote:
>> cvs at intevation.de wrote:
>> > --- NEW FILE: mapfile.py ---
>> > (This appears to be a binary file; contents omitted.)
>> 
>> This is a bit strange for .py files.  I wonder if something went wrong
>> and .pyc files were committed as .py files which are indeed binary
>> files?
>
> its not the pyc files.
> But the encoding seems to wrong.

The files are fine, AFAICT.  It's just that the name of the author
contains an umlaut, and thus there is a non-ascii character in a comment
near the start of the file.  The encoding is specified correctly in the
file so that Python > 2.3 and emacs (at least the emacs I use :) )
recognize it.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)