[R-pkg-devel] Invalid UTF-8
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Tue Oct 18 16:37:41 CEST 2022
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 | edd using debian.org
More information about the R-package-devel
mailing list