I have a .csv where the encoding returns \"unknown\" and \"UTF-8\" when using Encoding(data). The text looks like this:
Encoding(data)
You could do something like this:
library(stringi) string <- " \n\n " cat(stri_unescape_unicode(gsub("", "\\\\u\\1", string)))
Which results in:
၂၀၂၀ မွာ
တိုင္းျပည္ကိုလဲ ကာကြ