haskell / haskell/haskell-language-server

Problem starting ghcide on Windows and non english locale

未关闭
#809 18 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
can-workaround os: windows type: bug
主要语言
Haskell
星标
3k
派生
455
平均合并
2 天 19 小时
30 天内合并 PR
11

描述

Problem starting ghcide on a Windows 7 machine (32-bit, Russian locale).
Same error for ghcide 0.0.5 and 0.0.6.
Stack works without problems.

```
ghcide version: 0.0.6 (GHC: 8.6.5) (PATH: C:\Users\User\AppData\Roaming\local\bi
n\ghcide.exe) (GIT hash: 1b4cd9d8d7cf1ec12677e0e6877b8e8b3c74460f)
Ghcide setup tester in D:\haskell\src\test.
Report bugs at https://github.com/digital-asset/ghcide/issues

Step 1/6: Finding files to test in D:\haskell\src\test
Found 4 files

Step 2/6: Looking for hie.yaml files that control setup
Found 1 cradle

Step 3/6, Cradle 1/1: Implicit cradle for D:\haskell\src\test
Cradle {cradleRootDir = "D:\\haskell\\src\\test", cradleOptsProg = CradleAction:
stack}

Step 4/6, Cradle 1/1: Loading GHC Session
ghcide: Cannot decode byte '\xad': Data.Text.Internal.Encoding.streamDecodeUtf8W
ith: Invalid UTF-8 stream
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。