Re: trouble with accented character in the prompt windows when I evaluate a command
LaurentEss via ESS-help <[email protected]> Wed, 11 Sep 2024 20:13:14 +0200
| Newsgroups | gmane.emacs.ess.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Toby, It very similar endeed. I had the three lines to my emacs.el but it doesn't work. I will search in that direction because it is very similar. Thank you very much for this suggestion. Le 10/09/2024 à 19:24, Toby Hocking a écrit : > 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