You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
mitryp
changed the title
Cyrillic encoding issue
Cyrillic letters are displayed incorrectly
May 25, 2023
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.
Some characters are not decoded correctly in the mistake suggestions.
The reason is that the
language_tool
package utilizes the defaultResponse.body
getter, which decodes the response in a wrong encoding, while the data is received in theUTF8
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 text was updated successfully, but these errors were encountered: