From h.wickham at gmail.com  Thu Jul  7 16:57:54 2016
From: h.wickham at gmail.com (Hadley Wickham)
Date: Thu, 7 Jul 2016 09:57:54 -0500
Subject: [Rd] String encoding problem
Message-ID: <CABdHhvHwyZEEK+pjzgjvxgExeRuoSbEgTX+K10hibU6cKVL_TA@mail.gmail.com>

If you print:

"\xc9\x82\xbf"

you get

 "\u0242\xbf"

But if you try and evaluate that string you get:

>  "\u0242\xbf"
Error: mixing Unicode and octal/hex escapes in a string is not allowed

(Probably will only happen on mac/linux with default utf-8 encoding)

Hadley

-- 
http://hadley.nz



[Rd] String encoding problem
Hadley Wickham