Weird issues with accents and special characters in PyCharm terminal
Hi there,
I'm experiencing somewhat weird issues with the PyCharm terminal in my Mac. It doesn't show letters with accents, like áéíóú, when using a command like ls, but it does show these with no problem when either I type them directly at the prompt, or a press TAB to get the autocompletion in zsh.
Here's a screenshot, the first part shows the output of ls, and the second what's shown when pressing tab after typing ls without pressing enter.
Any ideas on how to fix this?
zsh works fine in OSX default terminal, BTW.
Thanks!
Fran
请先登录再写评论。
Hello,
Please open Help | Edit Custom VM Options and add the following line:
Also, it might be effective to add the following lines to the ~/.zshrc:
Sorry for the late response, I hadn't used Pycharm since I posted that question.
Putting on the Custom VM Options you said fixed the issue:
Thanks a lot!
I'm having a similar issue when my fish shell prompt contains the U+1F40D “🐍” unicode character. Adding `-Dfile.encoding=UTF-8` to the custom VM options greatly improved things (without it, the terminal became completely unusable), but I still have an issue where the cursor is off by 1 character to the right.
Gemini says:
```
The Unicode character U+1F40D (🐍) has an East Asian Width property of Wide. This means it typically occupies the space of two fixed-width characters in a terminal or text editor.
```
So maybe this is an issue with the way wide characters are rendered?
EDIT
This seems to only be an issue with the new ‘beta’ terminal. The old terminal works fine. The beta terminal also doesn't like right prompts with the cursor sometimes winding up to the right of them. (To switch to the old one, you need to click on the ⋮ character in the top right of the terminal and select the old terminal instead of the beta)
I'm on a mac on a Danish keyboard. I can't use "@" (and other special characters too) in my Webstorm terminal. When I try typing “@” the Bell-sound is played and it enters <ffffffff> in the terminal.
I have tried just about anything and nothing works. So the built in terminal is useless now:
Finally found out that it was “Use Option as Meta key”…
So someone at Jetbrains thought it would be a great idea to reserve a key on the keyboard, only for their own specific new feature…. and that went all the way to production. 👏👏👏👏👏👏
You can't hide being horrible at making software, when your customers are people that makes software.
Klb Thanks for sharing this information. It was very helpful for me. Btw, I tried adding the “-Dfile.encoding=UTF-8” option to VM options, but it didn't work.