haskell / haskell/haskell-language-server

Problem starting ghcide on Windows and non english locale

Open
#809 18 comments 0 reactions 0 assignees View on GitHub
can-workaround os: windows type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.