Opened 14 years ago

Last modified 8 years ago

#7588 closed defect

SyntaxError: Non-ASCII character '\xc3' in file setup.py on line 8 — at Initial Version

Reported by: tatadeluxe@… Owned by: Martin Scharrer
Priority: normal Component: GoogleStaticMapMacro
Severity: normal Keywords: UTF-8
Cc: Trac Release: 0.12

Description

Hi Martin: Thanks for your help, but the change add an common error for non english system. On line 8 of setup.py date = r"$Date$"[7:-2]

If i make: svn checkout http://trac-hacks.org/svn/googlestaticmapmacro/0.11/ googlestaticmapmacro

I get on setup.py: date = r"$Date: 2010-08-28 12:22:35 -0400 (sáb 28 de ago de 2010) $"[7:-2]

Because in Spanish Saturday is Sábado.

To correct this problem I have to add on setup.py {1} #!/usr/bin/env python # -*- coding: utf-8 -*-

Would be nice if you correct this internationalization problem declaring the encoding

Regars Javier

{1} http://www.python.org/peps/pep-0263.html for details

Change History (0)

Note: See TracTickets for help on using tickets.