[GRASS-dev] r.li (landscape indices)
Glynn Clements
glynn at gclements.plus.com
Sat Feb 10 05:02:57 EST 2007
Markus Neteler wrote:
> I tried r.li.setup today and it failed due to a mixture
> of Windows and Unix encoding:
>
> GRASS 6.3.cvs (spearfish60):~ > r.li.setup help
> bash: /home/neteler/soft/63grass_cvsexp/dist.i686-pc-linux-gnu/scripts/r.li.setup: /bin/sh^M: bad interpreter: File or directory not found
>
> I have fixed that in CVS now.
>
>
> Remaining problem (?):
> file raster/r.li/r.li.mps/mps.c
> raster/r.li/r.li.mps/mps.c: UTF-8 Unicode C program text
>
> Should this file converted to ASCII, too? If yes, how? My 'iconv'
> tries failed.
The file has a non-ASCII character in the comment at line 1171:
else /*l'albero non è null*/
As every other comment in that file is in English, the obvious
solution is to translate the comment, thus eliminating the need for
any non-ASCII characters.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list