rstudio / rstudio/reticulate

reticulate_1.18 run Chinese character string garbled

Open
#985 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.8k
Forks
349
Avg merge
5h 13m
Merged PRs (30d)
4

Description

Today I updated Rstudio to 1.4.1106, and also updated the reticulate package to the latest version 1.18 (the original Rstduio version is 1.3.1093, and the reticulate version is 1.16). It turns out that after loading the new version of the reticulate package, run the Python code console The output result of "Chinese character string" is garbled.

When I use the old version of Rstudio(version 1.3.1093) and reticulate(version 1.16), the above problem does not appear.
At the same time, if I use the new version of Rstudio (1.4.1106) and the old version of reticulate (1.16), Rstudio will crash when running matplotlib drawing commands (such as plt.figure(figsize=(12,8))).

reticulate报错

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the Chinese-string output with the reported RStudio and reticulate versions, then compare the old and new combinations; done means Chinese text displays correctly and the matplotlib crash is not reintroduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.