Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

From: Simon Urbanek <>
Date: Thu, 19 Jan 2012 20:59:37 -0500

On Jan 19, 2012, at 7:27 PM, Jeroen Ooms wrote:

>> I installed "libiconv" from, and
>> now I can easily replace all non- ASCII characters in my UTF-8 encoded R
>> files with: iconv -f UTF-8 -t ASCII --unicode-subst="\u%04X"
>> my-utf-8-encoded-file.R

> Maybe it would be possible to create an R package that exposes an R
> interface to libiconv, in a smililar spirt as how the package XML
> interfaces to libxml2 and RCurl to libcurl, etc

Well, R does that - see ?iconv ... mailing list Received on Fri 20 Jan 2012 - 02:04:56 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 20 Jan 2012 - 06:30:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive