#24 Use encoding from DESCRIPTION when reading it
Merged by pingou. Opened by qulogic.
qulogic/r2spec encoding  into  master

Download 24.patch

This is based on #22 due to conflicts.

rebased onto 6cb3f9b0c7206bf554867eac59aaa2b2ffccea9e

Shouldn't we default to UTF-8?

DESCRIPTION files must be ASCII unless an Encoding is specified: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#The-DESCRIPTION-file

For maximal portability, the DESCRIPTION file should be written entirely in ASCII — if this is not possible it must contain an ‘Encoding’ field (see below).

Below being:

If the DESCRIPTION file is not entirely in ASCII it should contain an ‘Encoding’ field specifying an encoding. This is used as the encoding of the DESCRIPTION file itself and of the R and NAMESPACE files, and as the default encoding of .Rd files.

rebased onto 89f550d048d80dd265f2933e453565689b8414c9

Cool, thanks

Pull-Request has been merged by pingou

Metadata