Re: RFS: python-harvestman
On 2/17/06, Kumar Appaiah <akumar@ee.iitm.ac.in> wrote:
> Also, since the code is written in DOS mode, can I run dos2unix on the
> code? Otherwise, python2.4 seems to give some warnings:
>
> /usr/lib/python2.4/site-packages/HarvestMan/connector.py:72:
> DeprecationWarning: Non-ASCII character '\xe5' in file
> /usr/lib/python2.4/site-packages/HarvestMan/strptime.py on line 81,
> but no encoding declared; see http://www.python.org/peps/pep-0263.html
> for details
This is the piece of code it's complaining about:
LongDayNames={ 'English' : [ 'Monday', 'Tuesday', 'Wednesday',
'Thursday', 'Friday', 'Saturday', 'Sunday'],
'Swedish' : [ 'Måndag', 'Tisdag', 'Onsdag', 'Torsdag',
'Fredag', 'Lördag', 'Söndag'],
So, there definitely are extended characters, and the encoding should
probably be declared somewhere (not sure where).
--
Besos,
Marga
Reply to: