Message-ID: <CAM0+Z0x8mJGuZxjqW9hbmQ6-oVaHUDRKid=rkFjwegOiRhPYgg@mail.gmail.com>
Date: 2016-09-05T04:40:04Z
From: Lixin Gong
Subject: How to print UTF-8 encoded strings from a C routine to R's output?
Dear R experts,
It seems that Rprintf has to be used to print from a C routine to guarantee
to write to R?s output according to
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Printing.
However if a string is UTF-8 encoded, non-ASCII characters (e.g., the
infinity symbol http://www.fileformat.info/info/unicode/char/221e/index.htm)
are misprinted.
Is this an unsupported feature or is there a workaround for this limitation?
Thanks!
Michael
[[alternative HTML version deleted]]