When you go to add a comment, the text incorrectly reads:
enter at least 15 characters
However, it does not enforce this, as only 8 characters are required. This can be readily demonstrated by adding a π character one at a time.
Characters Message String
---------- -------------- -----------
0 enter at least 15 characters
1 13 more to go... π
2 11 more to go... ππ
3 9 more to go... πππ
4 7 more to go... ππππ
5 5 more to go... πππππ
6 3 more to go... ππππππ
7 1 more to go... πππππππ
8 584 characters left ππππππππ
9 582 characters left πππππππππ
10 580 characters left ππππππππππ
The bug is that the code is not counting characters β Unicode code points β but merely some sort of tetranibble artifact of UTF-16 being mishandled as UCS-2.
Like UTF-8, UTF-16 is a variable-width encoding. The code needs to be updated to give accurate counts for actual characters. Nobody should have to know about tetranibbles, or believe lies about needing to enter 15 characters when entering just 8 characters is provably sufficient.