From pdalgd at gmail.com  Thu Jan 19 00:17:37 2012
From: pdalgd at gmail.com (peter dalgaard)
Date: Thu, 19 Jan 2012 00:17:37 +0100
Subject: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments
In-Reply-To: <201201182354.43607.thomas@zumbrunn.name>
References: <201201182354.43607.thomas@zumbrunn.name>
Message-ID: <2855A65F-5760-4076-BF1D-E80FEDCA0DB0@gmail.com>


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



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