[Rd] String encoding problem

Hadley Wickham h.wickham at gmail.com
Thu Jul 7 16:57:54 CEST 2016


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



More information about the R-devel mailing list