[R] Danish characters i R2.0.1 vs R1.9.1 under winXP
Jean.Coursol at math.u-psud.fr
Thu Nov 25 10:23:51 CET 2004
The same is true in french under linux. Something changed
from 1.9.1 to 2.0.0.
First, it is necessary to have .inputrc (in $HOME)
(or $INPUTRC defined) to enter and display 8-bits
characters under bash and R.
#.inputrc (for readline library)
set input-meta on
set output-meta on
set convert-meta off
Under R2.0.1, I have:
> Ã©lÃ©ment <- "Ã©" # error for object name
Error: syntax error
> element <- "Ã©"
 "\351" # different from R1.9.1 (="Ã©")
> Ã©lÃ©ment <- "Ã©" # OK for object name
 "Ã©" # OK for display
export LC_ALL='fr_FR' # before loading R
and then Sys.setlocale becomes useless.
More information about the R-help