Cyrillic letters are displayed incorrectly
Opened this issue ยท 3 comments
Some characters are not decoded correctly in the mistake suggestions.
The reason is that the language_tool
package utilizes the default Response.body
getter, which decodes the response in a wrong encoding, while the data is received in the UTF8
encoding.
The screenshot of the incorrect behavior:
The screenshot of the expected behavior:
The issue makes the usage of the plugin with Cyrillic languages completely impossible, though the API supports them.
The fix for this problem is a one-liner, but the issue is located in the language_tool
code :[
You can read this:
Maybe it is useful for you.
Thanks, mate!
The original problem in the library this package was using back then was fixed in this PR, in the same way you proposed in the linked issue - great job ๐
However, this package does not use the API from that lib anymore, so the issue persists here.