Displaying 1 result from an estimated 1 matches for "x8825".
Did you mean:
58825
2008 Dec 31
1
Chinese characters encoding problem with XML
...<- as.data.frame(t(matrix(dat, 4)))
dt<-as.character(df[15,1])
The first column of df is dates in Chinese. dt is one of the Chinese dates.
When I copied the content of dt into the email, it become the following:
> dt
[1] "2008å?G????㐀㄀㈀?Z?d\x8825æ??????㔀∀ഀ਀㸀 
Indeed in R, it looks like:
>dt
[1] "2008\345\271\xb412\346\234\x8825\346\227\xa5"
and the color of the numbers differs a little.
> getOption("encoding")
[1] "native.enc"
>...