Accentuation in the standard VSCODE terminal

Asked

Viewed 4,279 times

1

I’ve been using VSCODE for a long time, and in all this time I couldn’t fix this problem. The only possible answer I could find was in this post: https://plus.diolinux.com.br/t/visual-studio-code-nao-le-caracteres-acentuados-digitados-no-terminal-integrado/1490. But it didn’t solve my problem. Until pq vscode autocomplete find the terminal.integrated.env.osx and terminal.integrated.env.windows but not the . linux as it says in the post. Someone would know how to fix?

I use the vscode in English.

  • 2

    Here the accents work normally on the terminal... http://prntscr.com/nx4e4l

  • Helped a lot

  • Maybe it’s some particular config of your machine, here always worked normal... I’m glad to have helped

  • opa @Willianferrera was able to solve this problem? I use linux Mint and here the same thing happens. The strange thing is that in the terminal of the system the accentuation works perfectly.

  • I couldn’t get it, man, I looked in a lot of places. Yes in the system is normal

1 answer

1

I was having this problem and apparently I managed to solve.

In VS Code go in settings, in the upper right corner has the symbol "{}". When you click on the icon will open to edit the file "Settings.json" where you should insert the following line:

"terminal.integrated.shellArgs.windows": ["/K", "chcp 1252"]

Save the file, close the VS Code and open it. In the Terminal it should appear the message "Active code page: 1252".

  • I am using linux, not windows. I have already mentioned above.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.