-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Description:
I encountered an issue with radian on Windows where Chinese characters inside tibbles are displayed incorrectly, showing garbled symbols, while comments and normal console output display Chinese correctly.
System Information:
- OS: Windows 10
- radian version: [radian version: 0.6.15]
- Python version: [python 3.12]
- R version: 4.5.1
- VS Code terminal using
"r.rterm.windows": "D:\\Python312\\Scripts\\radian.exe"
Issue Details:
- When I print comments or character strings directly, Chinese displays correctly in radian.
- When I print tibbles (especially with the
tibble
package andpillar
formatting), Chinese characters in data columns appear garbled (mojibake). - The same data displays correctly in the default R terminal in both VS Code and Windows Console.
- Base R printing via
print(as.data.frame())
works correctly inside radian.
Reproducible Example:
ccaN <- tibble::tibble(name = c("李强", "张伟", "王芳"))
ccaN # Garbled in radian
print(as.data.frame(ccaN)) # Correct in radian
Metadata
Metadata
Assignees
Labels
No labels