We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a1cefa commit 538ed68Copy full SHA for 538ed68
ghcide/src/Development/IDE/Main.hs
@@ -53,6 +53,7 @@ import Development.IDE.Types.Options (IdeGhcSession,
53
defaultIdeOptions)
54
import Development.IDE.Types.Shake (Key (Key))
55
import Development.Shake (action)
56
+import GHC.IO.Encoding (setLocaleEncoding)
57
import HIE.Bios.Cradle (findCradle)
58
import Ide.Plugin.Config (CheckParents (NeverCheck),
59
Config,
@@ -116,6 +117,7 @@ stderrLogger = do
116
117
118
defaultMain :: Arguments -> IO ()
119
defaultMain Arguments{..} = do
120
+ setLocaleEncoding utf8
121
pid <- T.pack . show <$> getProcessID
122
logger <- argsLogger
123
hSetBuffering stderr LineBuffering
0 commit comments