[GRASS-dev] Character encoding of module i.atcorr files

Pietro peter.zamb at gmail.com
Mon Mar 3 08:12:27 PST 2014


On Mon, Mar 3, 2014 at 3:59 AM, Hamish hamish_b at yahoo.com wrote:

and lib/python/pygrass/functions.py …

as for functions.py, hooking into G_legal_filename() would
be best

done in r59180.

Personally, I would prefer it if source code was 7-bit clean.

Me too. Not sure how to deal with non-ASCII chars in people’s names though.

I don’t see the reason to avoid source code in utf-8, at least on
python files, in particular when it is explicitly declare in the file
header like this (as in PEP 0263):

# -*- coding: utf-8 -*-

regards

Pietro


More information about the grass-dev mailing list