Back to LanguageTool Homepage - Privacy - Imprint

Unicode Character 'PLUS-MINUS SIGN' (U+00B1)

Test text:
<!-- A tolerance of ±4.5 cycles a second is satisfactory. -->

When I paste text into disambiguation.xml or grammar.xml, I get a Java error:
MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.

If I remove the plus/minus sign, LT starts.

As best I can tell, ± is a valid UTF-8 character (https://www.fileformat.info/info/unicode/char/00b1/index.htm). So, why does LT/Java complain?

2020-06-24. The problem does not occur now.