The R Project SVN R

Rev

Rev 54744 | Rev 56184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54744 Rev 54747
Line 90... Line 90...
90
Encoding(x) <- "latin1"
90
Encoding(x) <- "latin1"
91
x
91
x
92
xx <- iconv(x, "latin1", "UTF-8")
92
xx <- iconv(x, "latin1", "UTF-8")
93
Encoding(c(x, xx))
93
Encoding(c(x, xx))
94
c(x, xx)
94
c(x, xx)
-
 
95
Encoding(xx) <- "bytes"
-
 
96
xx # will be encoded in hex
-
 
97
cat("xx = ", xx, "\n", sep = "")
95
}
98
}
96
\keyword{utilities}
99
\keyword{utilities}
97
\keyword{character}
100
\keyword{character}