How to fix "<C3><A6>" encoding like issues

Answered

My terminal wasn't usually like this, this happened recently when I was messing around with file encodings in IntelliJ (I haven't messed with anything outside of IntelliJ), now I can't get it to work again. I tried resetting intellij ide settings to no avail. 

What could cause this issue? We are talking danish letters.

0
7 comments

Hello,
You can try adding -Dconsole.encoding=UTF-8 in [Help | Edit Custom VM Options...] and restart the IDE.

0

Hi @... Klepikov,

I already tried that. Anyways, I just tried it again just to be sure I didn't screw up when I tried it the first time. The result is the same. The terminal persists in writnig out the hexadecimals of any danish letter: instead of "æ" it prints "<C3><A6>" in highlighted text. 

I guess the reason why your proposal doesn't work is that it applies to the console not the terminal? (There is a difference?)

0

Does it work in the same way if you add both options -Dfile.encoding=UTF-8 and -Dconsole.encoding=UTF-8 and restart the IDE?

If the problem remains please attach the idea.log file after restarting the IDE and reproducing the problem. (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)

The files can be uploaded at https://uploads.jetbrains.com. (do not forget to specify the UploadID)

0

Upload id: 2021_01_26_9GZ4kP3XvPA9CZCd (file: idea-logs-20210126-125219.zip)

0

Thanks. Can you please also attach screenshots from File | Settings | Tools | Terminal and File | Settings | Tools | SSH Terminal ?

0

What console output do you see after executing chcp command from IDEA terminal? Please try the following solution https://stackoverflow.com/questions/57131654/using-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window .

0

Please sign in to leave a comment.