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
When I create a code section that contains any Arabic text, the knitted page will not display the code in the script window, but it will display a message "script.{{backendConfig.extension}}" instead. The console will also not display as normal.
RStudio Session info:
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)
Screenshot:
html code of the exercise that fails to display correctly:
When I create a code section that contains any Arabic text, the knitted page will not display the code in the script window, but it will display a message "script.{{backendConfig.extension}}" instead. The console will also not display as normal.
RStudio Session info:
Screenshot:
html code of the exercise that fails to display correctly:
Knitting output:
Rmd document I used to create this example:
---
title: "Arabic characters problem"
output:
html_document:
self_contained: false
---
```{r setup, include=FALSE}
tutorial::go_interactive()
```
If a code section contains any Arabic letter, the creation of the code editor will fail:
```{r}
a <- "ألف"
```
Same example, without the Arabic letters, works:
```{r}
a <- "alif"
Encoding(a)
```
No problem with other non-ASCII characters:
```{r}
a <- "àlíf~"
Encoding(a)
```
The text was updated successfully, but these errors were encountered: