Skip to content
Prev 27133 / 63461 Next

encoding question again

On Sat, 29 Dec 2007, Simon Urbanek wrote:

            
On Windows there are no UTF-8 locales, but you can probably get the same 
effect by marking the strings via Encoding(), as they will be converted to 
CP1252 (a Latin-1 superset) on output.  A console that is running in a 
non-native encoding needs to convert everything going to and from R. 
We've experimented with running R in UTF-8 on Windows, but then you need 
to convert _everything_ coming in and going out and (and this is the 
killer) so would every package with C-level I/O.  (Tcl/Tk and Perl have 
gone down that route, and to a large extent left their extensions behind.)