The correct fix, I believe, is to set the language of your interface
(not document) to Default in preferences. This will at least enable R
to read the Rnw document correctly. Then everything becomes a LaTeX
problem (you can use other special packages, or xelatex).

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sun, Dec 4, 2011 at 7:35 PM, Etienne B. Racine <etienn...@gmail.com> wrote:
> Hi, this is a follow up of ticket 7741[1].
>
> As I understand it, it is possible to fix the locale problem by setting the
> encoding to ASCII [2] when setting language to something else than English,
> or leaving the language to default. However, when the accents are in a
> sweave chunk, e.g. for commenting, this is not fixed by the encoding. Are
> there any detailed procedure to fix this issue ? Or any thoughts on what I
> could try ? I've tried using xelatex, but it didn't work.
>
> Is it possible to make succeed loading all the LC_X... ?
>
> 1: Setting LC_CTYPE failed, using "C"
>
> 2: Setting LC_COLLATE failed, using "C"
>
> 3: Setting LC_TIME failed, using "C"
>
> 4: Setting LC_MESSAGES failed, using "C"
>
> 5: Setting LC_PAPER failed, using "C"
>
> 6: Setting LC_PAPER failed, using "C"
>
>
> Thanks,
> Etienne
>
> [1] http://www.lyx.org/trac/ticket/7741
> [2] http://comments.gmane.org/gmane.editors.lyx.general/70185
>

Reply via email to