We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65607bf + da4aefa commit 14f55c5Copy full SHA for 14f55c5
src/Language/Haskell/LSP/VFS.hs
@@ -192,6 +192,7 @@ persistFileVFS vfs uri =
192
writeRaw h = do
193
-- We honour original file line endings
194
hSetNewlineMode h noNewlineTranslation
195
+ hSetEncoding h utf8
196
hPutStr h contents
197
logs $ "haskell-lsp:persistFileVFS: Writing virtual file: "
198
++ "uri = " ++ show uri ++ ", virtual file = " ++ show tfn
0 commit comments