From ripley at stats.ox.ac.uk  Tue Jun 27 12:11:38 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 27 Jun 2006 11:11:38 +0100 (BST)
Subject: [Rd] UTF-8 and .Rd files
In-Reply-To: <148ed8180606270230s31e957e6r15fc346bf85183d7@mail.gmail.com>
References: <148ed8180606270230s31e957e6r15fc346bf85183d7@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0606271103260.9176@gannet.stats.ox.ac.uk>

On Tue, 27 Jun 2006, G?ran Brostr?m wrote:

> I have been converting to utf8 from latin1, and this gives me
> problems, some solved, but here is one unsolved: In my .Rd files, I
> have included '\encoding{UTF-8}' at the top. Despite this, the HTML
> help pages contains 'content="text/html; charset=iso-8859-1"', and my
> name is mangled. What can I do about this?

Reproducible example, please!  (I've just tried this and it works for me.)

As described in my talk at UseR 2006, you may well not want to do this if 
you intend to distribute the package.  Your name contains characters that 
are not in the fonts used in UTF-8 in non-European locales, and Windows 
users do no have ready access to UTF-8 viewers (even if they know the 
files are UTF-8).

> I'm on Ubuntu (latest), R-2.3.1

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] UTF-8 and .Rd files
Prof Brian Ripley