Serdae | 27 Apr 2012 07:51
Picon

UTF-8 problem

Hi,

I'm running ESS for MacOSX 10.6.8 and have problems with setting the 
locales for sv_SV.UTF-8 permanent.
For instance running the following command gives
 > paste("åäö")
[1] "\303\245\303\244\303\266"

sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_2.15.0 tools_2.15.0

Regards Serdar
_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

Peter Dyballa | 28 Apr 2012 20:56
Picon

Re: UTF-8 problem


Am 27.04.2012 um 07:51 schrieb Serdae:

> I'm running ESS for MacOSX 10.6.8 and have problems with setting the locales for sv_SV.UTF-8 permanent.

It should be sufficient to have set in the process environment from which Emacs is launched the necessary
environment variables like LANG or LC_CTYPE. If your init file does not play with internal settings (does
not touch any coding-system variable), then all should be fine. You can the environment à la

	(getenv "LANG")

in *scratch* buffer and the typing C-j at the end of the line. This will make Emacs read from its process environment.

--
Greetings

  Pete

Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm
our country and our people, and neither do we.
				– Georges W. Bush

_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
(Continue reading)


Gmane