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

peter dalgaard pdalgd at gmail.com
Thu Jan 19 00:17:37 CET 2012


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



More information about the R-devel mailing list