Skip to content

Error on Windows build: "unable to re-encode"

2 messages · Felix Schönbrodt, Duncan Murdoch

#
On 26/02/2010 8:52 AM, Felix Sch?nbrodt wrote:
I believe you shouldn't have a problem if you declare the default 
encoding for the whole package in the DESCRIPTION file.  You'll need to 
be consistent about using that encoding in all of your .R files.  (.Rd 
files can each have their own encoding, declared within them.)  However, 
it's possible there are bugs here: since most R code is pure ASCII, the 
encoding issues are not tested a lot.

If declaring the encoding in DESCRIPTION doesn't solve the problem, I'd 
be happy to take a look at the package.

Duncan Murdoch