[GRASS-stats] Sys.setlocale for GRASS6.4
Markus Neteler
neteler at osgeo.org
Fri Sep 4 10:29:39 EDT 2009
On Fri, Sep 4, 2009 at 4:06 PM, alexandre
villers<alexandre.villers at cebc.cnrs.fr> wrote:
> Good afternoon,
>
> Sorry bothering you with this on the list, but one of you might know how to list the locale available on my computer.
> In order to try running GRASS6.4 on my machine (with windows XP), Markus Neteler advised me I needed to set locale to "French_France.UTF8"
... to give you a bit more background, here excerpts of my related
offlist mail to Alexandre:
On Fri, Sep 4, 2009 at 12:25 AM, Markus Neteler<neteler.osgeo at gmail.com> wrote:
>> *g.region --interface-description
>>
>> *<?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE task SYSTEM "grass-interface.dtd">
>
> -> it wants UTF8.. but it does not get it:
>
>> > loc<-initGRASS("C:/GRASS", home="C:/temp/", override=T) #intialise GRASS
>> > dans un dossier de travail dans tempdir
>> Input is not proper UTF-8, indicate encoding !
>> Bytes: 0xE9 0x66 0x69 0x6E
>> Error : 1: Input is not proper UTF-8, indicate encoding !
>> Bytes: 0xE9 0x66 0x69 0x6E
>
> because in your system:
>>
>> locale:
>> LC_COLLATE=French_France.1252;LC_CTYPE=French_France.1252;LC_MONETARY=French_France.1252;LC_NUMERIC=C;LC_TIME=French_France.1252
>
> ... this seems to be a candidate.
What I mean: apparently .UTF8 output by GRASS conflicts with expected .1252
input in R.
best
Markus
More information about the grass-stats
mailing list