Re: [R-pkg-devel] UTF-8 characters inside R functions for data transformation

2021-12-21 Thread Simon Urbanek
Xavier, short answer is no, because there is no guarantee that user's system supports any encoding other than ASCII, so that code wouldn't run. Hence you can't use non-ASCII characters in symbols. That said, you can use Unicode _strings_, so metadata[["\u00e1cc\u00e9nts"]] will work in ASCII-l

[R-pkg-devel] UTF-8 characters inside R functions for data transformation

2021-12-21 Thread X FiM
Dear all, Somewhat related to a question that I posted a while ago (see https://stat.ethz.ch/pipermail/r-package-devel/2021q4/007540.html), once I've got a dataframe in my cache, some of the functions need to use some of the variables. It turns out that some of the columns contain UTF-8 characters