7.1.3 Non-ASCII characters in data
- To include non-ASCII characters, use UTF-8 encoding.
- Include
Encoding: UTF-8
in theDESCRIPTION
- If you use
usethis::create_package()
, the encoding will automatically be listed in theDESCRIPTION
- To make sure strings have UTF-8 encoding, use functions like
Encoding()
,enc2utf8()
, andiconv()
in your data preparation scripts indata-raw/
.