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

From: peter dalgaard <pdalgd_at_gmail.com>
Date: Thu, 19 Jan 2012 00:17:37 +0100

On Jan 18, 2012, at 23:54 , Thomas Zumbrunn wrote:

> plain("Zürich") ## works
> plain("Z\u00BCrich") ## fails
> escaped("Zürich") ## fails
> escaped("Z\u00BCrich") ## works

Using the correct UTF-8 code helps quite a bit:

U+00BC	¼	c2 bc	VULGAR FRACTION ONE QUARTER
U+00FC	ü	c3 bc	LATIN SMALL LETTER U WITH DIAERESIS

-- 
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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 18 Jan 2012 - 23:19:30 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 - 00:40:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive