I have created a script below for converting unicode into chinese characters, the last string in temp.df[,\"name_unicode\"]
is \"§®£\" (without quote), so that
Using a binary writing will work for your case. The following is a small sample code to do.
writeUtf8csv <- function(x, file) {
con <- file(file, "wb")
apply(x, 1, function(a) {
b <- paste(paste(a, collapse=','), '\r\n', sep='')
writeBin(charToRaw(b), con, endian="little")
})
close(con)
}
More details are shown in this reference page.