Open liegepr opened 6 months ago
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
https://github.com/python/cpython/issues/86873#issuecomment-1093895849
Thanks for your answer.
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 l10ninfo()$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."