Re: [Rd] UTF8 markdown vignette

2014-12-19 Thread Duncan Murdoch
On 18/12/2014, 12:17 AM, Yihui Xie wrote: > For the record, I saw a change had been made in R-devel: > https://github.com/wch/r-source/commit/d53b098 (Thanks, Duncan) > Meanwhile, I also made a change in knitr to assume UTF-8 unless R > passes an encoding to the vignette engine: > https://github.co

Re: [Rd] UTF8 markdown vignette

2014-12-19 Thread ONKELINX, Thierry
Dear Duncan and Yihui, I was able to test it with the new R-devel version. Adding only %\SweaveUTF8 to the vignette works (= passes R CMD CHECK --as-cran and UTF-8 characters render as they should). Adding only Encoding: UTF-8 to the DESCRIPTION instead of %\SweaveUTF8 works too. I have tested