In ?raw (src/library/base/man/raw.Rd), the final line of Examples seems
to be off:
isASCII("\x9c25.63") # false (in Latin-1, this is an amount in UK pounds)
The character "\x9c" is a control character in Latin-1. Maybe the
example should use "\xa3" instead:
> iconv("\x9c25.63", from = "latin1")
[1] "\u009c25.63"
> iconv("\xa325.63", from = "latin1")
[1] "£25.63"
--
Mikko Korpela
Department of Geosciences and Geography
University of Helsinki
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel