[Rd] Differences in printing UTF-8 strings to stdout vs. stderr under Windows
richierocks at gmail.com
Tue Sep 22 14:55:43 CEST 2015
It seems that under Windows, some UTF-8 strings that print OK to
stdout do not print correctly to stderr. To reproduce:
x <- "\ub124"
cat(x, file = stdout())
cat(x, file = stderr())
Original motivating problem here:
How does printing to stderr differ from printing to stdout?
And more importantly, is there any way I can ensure correct printing
of Unicode characters when I need to write to stderr (when throwing
errors or warnings)?
More information about the R-devel