[R] FW: R encoding question

Gabor Grothendieck ggrothendieck at gmail.com
Tue Nov 30 13:56:53 CET 2010


On Tue, Nov 30, 2010 at 7:30 AM, Xiaobo Gu <guxiaobo1982 at gmail.com> wrote:
> Do you know what values should I set to the category and locale parameters in order to use UTF-8 encoding in a Chinese Windows XP SP3 environment?
>
> Sys.setlocale(category = "LC_ALL", locale = "")
>

Its OS dependent but you could try:

Sys.setlocale(locale = "Chinese")

and

Sys.setlocale(locale = "")

to set it back.


-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list