Skip to content
Prev 277385 / 398506 Next

Sweave and accented letters

It might be better to post it to the LyX mailing list
(lyx-users at lists.lyx.org) since you are using LyX. Anyway, the problem
came from Sweave: you did not tell us your R version, and I suppose
you are using the latest version of R (2.14.0). There are two ways of
telling Sweave your UTF8 encoding (see ?Sweave); one of them is via
\usepackage[utf8]{inputenc}. In LyX, you need to set the document
encoding to "Unicode (utf8)" in Document
Settings-->Language-->Encoding. The next version of LyX (2.0.2) will
address this issue better.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Mon, Nov 14, 2011 at 7:21 PM, Giuseppe <neox86 at gmail.com> wrote: