We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df63fd7 commit bd25cd0Copy full SHA for bd25cd0
exe/Main.hs
@@ -101,6 +101,10 @@ main = do
101
initialise caps (cradleRules >> mainRule >> pluginRules plugins >> action kick)
102
getLspId event (logger minBound) debouncer options vfs
103
else do
104
+ -- GHC produces messages with UTF8 in them, so make sure the terminal doesn't error
105
+ hSetEncoding stdout utf8
106
+ hSetEncoding stderr utf8
107
+
108
putStrLn $ "Ghcide setup tester in " ++ dir ++ "."
109
putStrLn "Report bugs at https://github.com/digital-asset/ghcide/issues"
110
0 commit comments