rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 96 forks source link

Making command line processes charset aware. Fix issue #623 #624

Closed sgt closed 3 years ago

sgt commented 3 years ago

This seems to have fixed it. Command line shell that processes a file must run with locale/codepage matching the file's encoding.

rikvdkleij commented 3 years ago

Thanks!

Would be nicer if the charset would be some global setting instead of managing this per file but okay. Great you fixed this!

sgt commented 3 years ago

I'm no expert on Intellij internals, but it seems to me that the encoding is a property of a specific file (UI-wise shown on the status bar in the bottom right corner). You may hypothetically have files using different encodings in the same project.

Anyway, thanks for making this great plugin!