REditorSupport / REditorSupport/languageserver
code formatting encoding problem
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
I'm using vscode in windows 10, when I format the code, Chinese characters inside the code (including comments) are transformed into <U+1231>-like form.
I've tried on another computer and no such problem occurs, I've played around with quite a few ENVIRONMENT VARIABLES without any effect.
I'm wondering what config options or env vars are related to this issue, thank you very much!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the VS Code formatting path and the Windows 10 environment described in the report. Reproduce formatting code and comments containing Chinese characters, then compare the affected computer with the working computer and inspect relevant environment or encoding settings. Done means identifying the cause and preserving the original characters during formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100