Screenshot / Code Snippet
Live preview of the new counter:
The counter also preserves the "heatmap" colour coding:
Disclaimer: please note that the script will not allow you to submit more characters than you can now.
SE still validates as if the multi-unit char like 🤷♂️ was 5 chars, but at least now you are not being fed misinformation.
I will investigate if this is possible to bypass the restriction legally in later versions of the script.
Unicode Char Counter is a natural extension of my response to this post on Meta Stack Overflow:
What if the character counter could indeed account for Unicode characters from supplemental planes?
No need to wait 6 to 8 weeks for this to happen: with UCC you can observe the correct information right now and compare it live to how many characters Stack Exchange's validation thinks you are entering.
The script is licensed under the GPL-3.0-or-later license.
The script doesn't need a userscript manager to work (but includes necessary headers).
Version number means "works in and above":
Please, submit bug reports on the source repository.
Before adding a new one, please check if it hasn't been raised before.
You can also drop by to chat, we are a friendly bunch.
Source code written in TypeScript.
Contributions are welcome, you can always submit a PR here.