[Rd] Mistake in CP1257.enc file of grDevices package (PR#13736)

From: <zemlys_at_gmail.com>
Date: Mon, 01 Jun 2009 12:55:08 +0200 (CEST)

Full_Name: Vaidotas Zemlys
Version: 2.9.0
OS: Ubuntu 8.10
Submission from: (NULL) (


This is the same bug as bug #9845. Encodings CP1257 and ISOLatin7 are used for Lithuanian and Latvian languages. They differ only by certain symbols such as quotation marks. Instead of umacron and Umacron there are symbols ucircmuflex and Ucircumflex in file CP1257.enc, which belongs to package grDevices.

To see the problem compare the outputs

> postscript(encoding="CP1257.enc")
> plot(rnorm(100),main="\u016B\u016A")
> dev.off()



This bug appears only in Windows environment with Lithuanian locale, since only then CP1257 is used as default encoding.

Changing [uU]circumflex to [uU]macron in file CP1257.enc fixes the problem.

Vaidotas Zemlys

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 01 Jun 2009 - 11:58:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 01 Jun 2009 - 12:34:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive