On 17 October 2022 at 13:20, Göran Broström wrote:
| Thanks Ivan,
| 
| I found two simple ways to convert this old file to UTF-8:
| 
| (i) In emacs, C-x <RET> f <RET> (default is utf-8)

That's a good ti[. I had actually hand-edited two lines down to 'seven bits'
instead of this.  Umlaute, accents and special characters for the win! Thanks
Ivan and Göran.

Also, reproducing this warning required both clang(++)-15 and an explicit
setting of -Winvalid-utf8.

| (ii) In RStudio, set Tools-Global Options-Code-Saving-
| Default text encoding  to UTF-8
| 
| No problem with new files.
| 
| G;ran (US keyboard)

:)

A fortunes candidate?

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to