[ESS] Different results for Sys.getlocale()

Martin Maechler maechler at stat.math.ethz.ch
Wed Mar 17 10:03:36 CET 2010


>>>>> "CZ" == Christian Zang <christian.zang at fh-weihenstephan.de>
>>>>>     on Wed, 17 Mar 2010 08:00:39 +0100 writes:

    CZ> Dear list, I am using ESS 5.8 with Emacs 23.1 and R
    CZ> 2.10.1 on Mac OSX 10.6 and have a problem with the
    CZ> locale. In terminal R and GUI R everything is fine, but
    CZ> in ESS, umlauts (like \"{u}) are not displayed properly
    CZ> (but with a leading quotation mark like "u, which makes
    CZ> ESS display the following text like a
    CZ> string). Sys.locale in Terminal or GUI gets me
    CZ> "en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8"
    CZ> (GUI) or
    CZ> "de_DE.UTF-8/en_US.UTF-8/C/C/de_DE.UTF-8/de_DE.UTF-8"
    CZ> (terminal), but with ESS, I only get "C".

ouch..

Is this also true, when you start Emacs

     M-x shell
and type
    locale 
in that shell ?

I expect your answer to be "yes".
In that case, you need help about "Emacs on Mac OSX" (and use
M-x shell as example to demonstrate the problem)
rather than help on ESS.

Regards,
Martin

    CZ> Has anyone come across that problem and could point me
    CZ> to some solution? Thanks!

    CZ> Best, Christian



More information about the ESS-help mailing list