>>>>> Mikko Korpela <mikko.korp...@helsinki.fi> >>>>> on Tue, 7 Jun 2016 12:41:54 +0300 writes:
> 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" Thank you, Mikko, I've confirmed what you say and changed the comment (and also added a tiny bit more to the ex. section). Martin > -- > 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