Rider C# Interactive Console Error Message Garbled Encoding
OS: win10; OS language: zh-CN; OS default encoding: GBK
trying to use C# interactive in Rider, it works well, but when error occurs, the message is garbled (there are chinese chars in it).
Please sign in to leave a comment.
Hello mo-han!
Thank you for contacting Rider Support.
Unfortunately, it looks like you have faced a [known issue](https://youtrack.jetbrains.com/issue/RIDER-18942).
However, it should be fixed for C# interactive window, so we need some more details to reproduce your case. Could you please check what Rider version do you use?
Also, could you please verify which encoding does
csi.exe
uses for its output? E.g. try redirecting its output into a text file ("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Roslyn\csi.exe" > T:\Temp\foo.txt
incmd.exe
) and attach the resulting file to the issue.Thank you in advance and have a great day!
Hi!
As a workaround you can disable language pack of Roslyn by renaming or deleting corresponding folder of Rider installation.
As you see my C# interactive is running in English on my Korean Windows 10.
This works on Rider 2021.3.3
I hope there would be a real fix!