randy3k / radian

A 21 century R console
MIT License
1.96k stars 73 forks source link

Cannot assign a a variable with its name being Chinese characters #453

Open zuoyouheng opened 6 months ago

zuoyouheng commented 6 months ago

If I try this in Radian: 一个 <- 1 there would be an error, and the message is

Error: unexpected symbol in "\u"

This both occured in vscode-R and cmd. But the code above worked fine in basic R terminal (Rterm.exe).

The LANG of system env is

"en_US.UTF-8",

and locale is

"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"