[ESS] Unicode with ESS on Windows
kw.stat at gmail.com
Fri Sep 12 23:36:37 CEST 2014
text(x =.5, y = .5, labels = "ﬁ")
Still not working. I'm now trying variations on this:
(setq default-process-coding-system '(utf-8 . utf-8))
On Fri, Sep 12, 2014 at 4:17 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
> It works for me on linux. Could you try this in R within an Emacs shell?
> >>> Kevin Wright on Fri, 12 Sep 2014 15:27:37 -0500 wrote:
> > For reference, see the first example on this page:
> > I've simplified the example down to this: (Contains a unicode 'fi'
> > that may or may not come through in this email).
> > plot.new()
> > text(x =.5, y = .5, labels = "ﬁ")
> > When I open R (not inside Emacs) and past this code, the windows()
> > device displays the "fi" ligature.
> > When I copy this code into an Emacs buffer, I can _see_ the ligature (my
> > font is Dina, if it matters), but sending it to inferior R causes the
> > resulting graphics window to contain two weird characters instead of the
> > ligature. Even though the iESS buffer also shows the ligature.
> > Any ideas why this is happening?
> > Side note. I have unicode text in Excel. I am struggling _mightily_ to
> > create pdf reports from this data. R package openxlsx seems to do best
> > reading the .xlsx file. I've also tried XLConnect and xlsx. Sometimes
> > data shows correct unicode characters inside Emacs, usually NOT in
> > stand-alone R GUI (using Consolas font). The pdf() device does not
> > fonts, so I'm trying cairo_pdf(), but it is crashing. Now trying Cairo
> > package. Major headaches...
[[alternative HTML version deleted]]
More information about the ESS-help