valentjn/ltex-ls

Special characters are not resolved

tobiasdiez opened this issue · 0 comments

Describe the bug

Special constructions such as \'e or \" are not properly converted to unicode before passing them to language tools (it seems)

Steps to reproduce
Steps to reproduce the behavior:

  1. Spell-check the following document
  2. Get
"Fr\'echet": Unknown word.
"ahler": Unknown word.

Expected behavior

No errors if Fréchet and Kähler are added as exceptions, and warnings with the correct unicode spelling if they are not.

Sample document
If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.

Hello Fr\'echet and K\"ahler.

LTeX configuration
Please paste all configuration settings starting with ltex. from your settings.json. You can help us by temporarily removing some irrelevant settings from your settings.json and see if the bug still occurs.

"cSpell.userWords": [ "Fréchet", "Kähler" ]

LTeX LS log
Paste the log (output) of LTeX LS here:

Not sure how to get this, I'm using the VScode extension.

Version information
List here the version information of the relevant software.

  • Operating system: Linux (which distribution/version), macOS xx.xx, or Windows xx
  • ltex-ls: ltex-ls-15.2.0
  • Java: x.xx (usually obtained with java -version)

Additional context/information
You can add any other context or information about the problem here.