Re: trouble with accented character in the prompt windows when I evaluate a command
Toby Hocking via ESS-help <[email protected]> Tue, 10 Sep 2024 13:24:15 -0400
| Newsgroups | gmane.emacs.ess.general |
|---|---|
| Message-ID | <CALK03d3D-1b=GOxFzTeofkYbXAOz2rhOqbrJz+tZ=OAtcgRUMA@mail.gmail.com> |
Hi Laurent did you read my recent thread? https://stat.ethz.ch/pipermail/ess-help/2024-August/013340.html Not sure if your issue is the same, but it sounds similar. The following worked for me: (setq-default buffer-file-coding-system 'utf-8) (setq-default coding-system-for-read 'utf-8) (prefer-coding-system 'utf-8) On Tue, Sep 10, 2024 at 1:11 PM LaurentEss via ESS-help <[email protected]> wrote: > > Dear ESS-Help-list, > > I use .Rnw file and polymode. In a code R chunk, when I evaluate > for example the line cat("test équation") that is to say with an > accented character "é" I have the following error message : Error: > invalid multiple character in parser > > In the emacs windows which embodies the R session, I typed: C-h v > buffer-file-coding-system RET and I can read in the help windows: Its > value is 'utf-8-unix'. When I compile the .Rnw and then create the pdf > file there is no trouble the accented characters are taken into account > and my document is correct. > > But it is annoying to debug my R chunks, I have to remove the accented > characters to rewrite them after in the final version. > > How could I resolve this trouble ? > > Thank you > > Laurent > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/ess-help ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/ess-help