The Unicode Consortium says that U+2019 is preferred as apostrophe [1]. The Belarusian language uses quite a lot of apostrophes as part of words (considered an extra-alphabetical character). LanguageTool, however, rejects Belarusian words written with U+2019, while written with U+0027 are fine.
Steps to reproduce:
- Copy to the clipboard the following words:
З'яўляцца
З’яўляцца
п'яны
п’яны
- Go to https://languagetool.org/ , paste the words to the sample window (first, click Edit to get raw words), select Belarusian for the language to check. The first and third words (with U+0027) are OK, the second and forth (with U+2019) are marked wrong, their counterparts with U+0027 are suggested as correct in the first place.
- Go to any website that supports text input fields, paste the words, wait for LanguageTool to recognize the language with the same result as in 2 (tested with 5.1.1, last updated on April 21, 2022, in Mozilla Firefox 94.0.2 64-bit, Microsoft Windows 7).
- Launch the standalone version of LanguageTool (languagetool.jar, tested with the snapshot of April 25, 2022), paste the words, select Belarusian for the language to check. Again, the same result as in 2.