Displaying 1 result from an estimated 1 matches for "do_tolow".
Did you mean:
do_tolower
2008 Mar 17
1
Inconsistency in gsub in R.2.6.2 (PR#10978)
...ISBN 3-900051-07-0
...
> x <- "ab?"
> Encoding(x)
[1] "latin1"
> Encoding(gsub("?","", x))
[1] "unknown"
> Encoding(gsub("?","", x, perl = TRUE))
[1] "latin1"
The code in src/main/pcre.c (see also do_tolower and do_strsplit in
src/main/character.c) suggests to patch as attached.
> x <- "ab?"
> Encoding(gsub("?","", x))
[1] "latin1"
Happy Easter
Christian
--
Christian Buchta -> Institute for Tourism and Leisure Studies ->
Vienna Universit...