Change character units from UTF-16 code unit to Unicode codepoint · Issue #376 · microsoft/language-server-protocol
Text document offsets are based on a UTF-16 string representation. This is strange enough in that text contents are transmitted in UTF-8. Text Documents ......... The offsets are based on a UTF-16 ...
GitHub