Re: [R] UTF-8 or Unicode on Windows PC

From: Hans-Joerg Bibiko <bibiko_at_eva.mpg.de>
Date: Mon, 21 Apr 2008 18:46:16 +0200

On 21 Apr 2008, at 12:33, Prof Brian Ripley wrote:

>> Is it possible to download a compiled snapshot of 2.7.0 for Windows
>> XP?
>
> Yes, http://cran.r-project.org/bin/windows/base/rtest.html
> And it is due for release tomorrow.

Many thanks! I can see the progress :)

But please forgive my incompetence. I'm not so familiar with Windows. If I start e.g. RGUI by using: Rgui.exe LC_CTYPE=ja I can type Japanese, Russian, and German. strsplit works perfectly! ;) But if I type for instance a German umlaut '' it comes out as 'u'. OK, it is due to the fact I didn't set up Rgui in UTF-8 mode. But how can I do this? My data are written in many different languages, and I want to do some statistics.

R version 2.7.0 RC (2008-04-19 r45391)
i386-pc-mingw32

locales:
all to German_Germany.1252
LC_CTYPE=Japanese_Japan.932

###

There are some minor issues.
I set Rgui's font to "Arial Unicode". This works but I have some troubles to place my cursor, caused by the issue that Arial Unicode is not a monospaced font.

If I start up Rgui in German, I can see the localized menu items, but for each non-ASCII character I see cryptic things. It seems to me that the localized strings are written in UTF-8, and Rgui expects ANSI characters.

###
Nevertheless, thanks a lot!

--Hans



R-help_at_r-project.org 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. Received on Mon 21 Apr 2008 - 16:48:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Apr 2008 - 17:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive