You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from Windows 10 version 1803 and R v4.2, l10n_info()$system.codepage should report 65001.
The R-help page for ?Sys.setlocale says: "From R 4.2, UCRT locale names should be used. The character set should match the system/ANSI codepage (l10n_info()$codepage be the same as l10n_info()$system.codepage). Setting it to any other value results in a warning and may cause encoding problems. As from R 4.2 on recent Windows the system codepage is 65001 and one should always use locale names ending with ".UTF-8" (except for "C" and ""), otherwise Windows may add a different character set."
The text was updated successfully, but these errors were encountered:
It is unfortunately due to lack of naive UTF-8 support for python (radian requires python in case you didn't know).
It seems that there is a way to change python manifest's activeCodePage to UTF-8 via mt.exe python/cpython#86873 (comment)
Thanks for developing radian.
I am running R v. 4.3.0 on, Windows 11. When using R term as interactive terminal in vscode, I am getting:
Now when using radian:
After tweaking my .Rprofile, I can force R to use UTF-8 with radian:
However, the R code page now conflicts with the Windows code page:
Starting from Windows 10 version 1803 and R v4.2, l10n_info()$system.codepage should report 65001.
The R-help page for ?Sys.setlocale says:
"From R 4.2, UCRT locale names should be used. The character set should match the system/ANSI codepage (l10n_info()$codepage be the same as l10n_info()$system.codepage). Setting it to any other value results in a warning and may cause encoding problems. As from R 4.2 on recent Windows the system codepage is 65001 and one should always use locale names ending with ".UTF-8" (except for "C" and ""), otherwise Windows may add a different character set."
The text was updated successfully, but these errors were encountered: