SV: [GRASS-stats] Sys.setlocale for GRASS6.4

Roger Bivand Roger.Bivand at nhh.no
Fri Sep 4 13:08:36 EDT 2009


OK, don't worry about that. I'll try to send an updated spgrass6 when I have adequate net access. The problem is that GRASS writes UTF-8 as the encoding into the XML header from --nterface-description, but the French translations seem (on my XP machine) to be in latin1, that is the 0x.. spell eacute (\'{e}) in latex, then "fin" from "défine...", the first non-ASCII string in the output for g.region.
 
The fix is to insert "latin1" into the header, so I've updated the package to allow the user to do this from within R
 
Roger
 
--- Roger Bivand, NHH, Helleveien 30, N-5045 Bergen, Roger.Bivand at nhh.no

________________________________

Fra: grass-stats-bounces at lists.osgeo.org på vegne av alexandre villers
Sendt: fr 04.09.2009 16:06
Til: grass-stats at lists.osgeo.org
Emne: [GRASS-stats] Sys.setlocale for GRASS6.4



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"

I tried Sys.setlocale("LC_ALL", locale="French_France.UTF8") but R doesn't seem to find this setting
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "French_France.UTF8") :
  la requête OS pour spécifier la localisation à "French_France.UTF8" n'a pas pu être honorée, the warning message meaning the request was not available.

How do I check I can use the locale proposed ? Shall I download it from somewhere or change something on windows ?

Thanks for any hints

Alex



Alexandre Villers
PhD. Student
Team Biodiversity
CEBC CNRS
79360 Beauvoir sur Niort


__________ Information from ESET Mail Security, version of virus signature database 4395 (20090904) __________

The message was checked by ESET Mail Security.
http://www.eset.com <http://www.eset.com/> 


_______________________________________________
grass-stats mailing list
grass-stats at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-stats


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-stats/attachments/20090904/115461a0/attachment.html


More information about the grass-stats mailing list