https://github.com/whatacold/eglot-gbk-demo
A demo for a problem of non UTF-8 encoding in eglot and LSP server.
https://github.com/whatacold/eglot-gbk-demo
Last synced: about 2 months ago
JSON representation
A demo for a problem of non UTF-8 encoding in eglot and LSP server.
- Host: GitHub
- URL: https://github.com/whatacold/eglot-gbk-demo
- Owner: whatacold
- Created: 2018-12-03T13:46:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T14:35:35.000Z (over 6 years ago)
- Last Synced: 2025-01-31T09:28:43.593Z (4 months ago)
- Language: C
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This demo intends to illustrate a problem for non UTF-8 character encoding project,
with eglot and ccls/cquery/clangd as LSP client and server, respectively.For example, eglot will complain something like below in `*Message*` with clangd 6:
```
[jsonrpc] (warning) Invalid JSON: (?\C-@) {"id":8,"jsonrpc":"2.0","result":{"isIncomplete":false,"items":[{"detail":"void","documentation":"Say hello to someone \317 ...
```