Sourcing files with Umlaut in path no longer works
On Nov 21, 2012, at 12:49 , Ulrike Gr?mping wrote:
Dear helpeRs, on my new machine - Windows 7 64Bit, R 2.15-2, I can no longer source files for which the path contains the o-Umlaut (?). As a historical burden, my username is Gr?mping and contains that Umlaut (I wouldn't have chosen it now, but decided to keep it for easy transfer). I have had the difficulty that I couldn't use the R CMD tools on files with Umlauts in the path (and solved it by having a dedicated directory without umlaut in the path for that purpose), but so far (Windows XP and earlier R versions) sourcing from within R worked fine. The issue is that the o-Umlaut (?) is always replaced by a capital A with tilde above together with a paragraph symbol (??). Apparently, the c3b6 used for the o-Umlaut in some encoding is translated back to the ??. Can I somehow fix this? Or is it a bug?
Without a reproducible example, it is hard to tell where things are going wrong, but the symptoms are those of utf-8 codes being sent to something that expects latin1 (or one of the "8th bit ASCII" variations, anyway).
Best regards, Ulrike
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com