Displaying 1 result from an estimated 1 matches for "rf_translatechartoutf8".
2007 Feb 15
0
Encoding API
...l storage format used in Qt QStrings). This needs to be done
independent of the current locale, and the encoding used in the embedded R
process. I imagine other graphical or non-graphical toolkits will similarly
use UTF-8 to store strings, internally.
For this reason, an addition of e.g.
char* Rf_translateCharToUTF8(SEXP);
would be nice. This function would translate to UTF-8 independently of the
current LC_CTYPE. While it is possible to achieve the same effect by first
translating the strings to the current LC_CTYPE encoding (using
Rf_translateChar()), and then translate to UTF-8 in a second step (using...