zemlys at gmail.com
2009-Jun-01 10:55 UTC
[Rd] Mistake in CP1257.enc file of grDevices package (PR#13736)
Full_Name: Vaidotas Zemlys Version: 2.9.0 OS: Ubuntu 8.10 Submission from: (NULL) (213.197.173.50) Hi, 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()and plot(rnorm(100),main="\u016B\u016A"). 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