An open API service indexing awesome lists of open source software.

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.

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