Displaying 2 results from an estimated 2 matches for "u0085".
Did you mean:
0085
2008 Jan 04
1
Unicode whitespace
...ly have such problems when copying and pasting from
emails as well.
Wikipedia lists the following codepoints as whitespace (I'm sure there
is a more definitive reference but I could not find one with some
quick googling):
U0009-U000D (Control characters, containing TAB, CR and LF)
U0020 SPACE
U0085 NEL
U00A0 NBSP
U1680 OGHAM SPACE MARK
U180E MONGOLIAN VOWEL SEPARATOR
U2000-U200A (different sorts of spaces)
U2028 LSP
U2029 PSP
U202F NARROW NBSP
U205F MEDIUM MATHEMATICAL SPACE
U3000 IDEOGRAPHIC SPACE
would it be possible for R to treat these all in the same way? (Or
does it already but my R is...
2008 Aug 25
1
Unicode notation \x000
...by LaTeX.
E.g.:
uni2latex <- function(x){
x <- gsub("&", "et", x, fixed = TRUE)
# Deutsch
x <- gsub("\u0080", "\\\"A", x, fixed = TRUE)
x <- gsub("\u008a", "\\\"a", x, fixed = TRUE)
x <- gsub("\u0085", "\\\"O", x, fixed = TRUE)
x <- gsub("\u009a", "\\\"o", x, fixed = TRUE)
x <- gsub("\u0086", "\\\"U", x, fixed = TRUE)
x <- gsub("\u009f", "\\\"u", x, fixed = TRUE)
x <- gsub("?&...