Skip to content

(PR#9201) Unable to save a plot containing Chinese (two-byte)

1 message · Brian Ripley

#
This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27464147-689190176-1157401193=:15799
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.4.64.0609042121261.15799 at gannet.stats.ox.ac.uk>
On Mon, 4 Sep 2006, Pavel Stranak wrote:

            
You have _still_ not told us what we asked, including the locales!
That may well not work, but reports on the Mac GUI are inappropriate for 
R-bugs.
Yes, but Chinese chars are not.
Incorrect usage.
and 3 byte and 4 byte chars, and potentially up to 6.
Please give your reference!  They are in the Unicode ranges from 2F00, and 
characters above 07Ff need 3 or more bytes in UTF-8.

http://www.cl.cam.ac.uk/~mgk25/unicode.html
That is *not* a locale but a character encoding.
But not in pdf, as you said.  You really have failed to read the 
references, including the help page and tutorial I very kindly pointed you 
to.

In case it has still not got through to you: PDF is not written in UTF-8 
and most fonts do not include Chinese ideographs, including Helvetica, the 
default font for PDF.