Skip to content
Prev 386033 / 398513 Next

write.csv covert Åland to <c5>land

Thank you very much for the hint. I tried it on a FreeBSD machine with 
locale set to en_US.UTF-8, it works fine.

However, on my Windows machine,
 > Sys.getlocale()
[1] "LC_COLLATE=Chinese (Simplified)_China.936;LC_CTYPE=Chinese 
(Simplified)_China.936;LC_MONETARY=Chinese 
(Simplified)_China.936;LC_NUMERIC=C;LC_TIME=Chinese (Simplified)_China.936"

It just worked as what I posted.

BTW, I can not understand why a string could be displayed different as 
vector or as data frame.

Best,
Jinsong
On 2020/10/20 21:56, John Kane wrote: