From pperry at stern.nyu.edu  Sun Aug 27 17:40:44 2017
From: pperry at stern.nyu.edu (Patrick Perry)
Date: Sun, 27 Aug 2017 11:40:44 -0400
Subject: [Rd] special latin1 do not print as glyphs in current devel on
 windows
In-Reply-To: <CANu2KkOOSz1yRy0iszE47uTniAms=_LgBOW8ZbEJpCCfhJyUuA@mail.gmail.com>
References: <CANu2KkOOSz1yRy0iszE47uTniAms=_LgBOW8ZbEJpCCfhJyUuA@mail.gmail.com>
Message-ID: <59A2E7FC.9090303@stern.nyu.edu>

Regarding the Windows character encoding issues Daniel Possenriede 
posted about earlier this month, where non-Latin-1 strings were getting 
marked as such 
(https://stat.ethz.ch/pipermail/r-devel/2017-August/074731.html ):

The issue is that on Windows, when the character locale is Windows-1252, 
R marks some (possibly all) native non-ASCII strings as "latin1". I 
posted a related bug report: 
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17329 . The bug 
report also includes a link to a fix for a related issue: converting 
strings from Windows native to UTF-8.

There is a work-around for this bug in the current development version 
of the 'corpus' package (not on CRAN yet). See 
https://github.com/patperry/r-corpus/issues/5 . I have tested this on a 
Windows-1252 install of R, but I have not tested it on a Windows install 
in another locale. It'd be great if someone with such an install would 
test the fix and report back, either here or on the github issue.


Patrick



[Rd] special latin1 do not print as glyphs in current devel on windows
Patrick Perry