【发布时间】:2019-10-24 12:15:01
【问题描述】:
如何在 R 中处理西里尔字符串?
Sys.setlocale("LC_ALL","Polish")
dataset <- data.frame( ProductName = c('ąęćśżźół','тест') )
#Encoding(dataset) <- "UTF-8" #this line does not change anything
View(dataset)
但我想得到我在тест 中输入的内容,而不是序列<U+number>。有什么办法吗?
【问题讨论】:
-
您可以查看this,尽管我的
Sys.setlocale()不是"ru_RU",并且您的代码对我来说很好。