Dear R users,

I'm trying to have a gWiddgetsRGtk2 script run under R-2.4.1. The script 
run OK under Linux but all accentuated characters appear as "?" when the 
script is run under Windows.

As Gtk+ requires UTF-8, I thought it was the source of the problem and 
tried to change the default encoding (1252) in the following way:

 >Sys.setlocale("LC_CTYPE","fr_FR.UTF-8")
[1]  "fr_FR.UTF-8"

But when I try as a check:
 >Sys.getlocale("LC_TYPE")
[1] "French_France.1252"

So it seems that Sys.setlocale() has not changed anything. What am I 
doing wrong ?

Thank you for your help,

Yvonnick Noel
U. of Rennes
France

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to