Zero-width space appears as a control character
The bug
The zero-width space character, rather than being a zero-width space, appears to fall back to GNU Unifont and renders as a control character.
How to reproduce
Paste this into a text field:
a​b
Alternatively, run this command:
/tellraw @p {"text": "a\u200Bb"}
Expected results
The zero-width space would not be visible.
Actual results
It is.
How to fix
Define this as a width of 0 in the space provider file.
Created Issue:
Zero-width space appears as a control character
The bug
The zero-width space character, rather than being a zero-width space, appears to fall back to GNU Unifont and renders as a control character.
How to reproduce
Paste this into a text field:
a​bAlternatively, run this command: /tellraw @p
{"text": "a\u200Bb"}Expected results
The zero-width space would not be visible.
Actual results
It is.
How to fix
Define this as a width of 0 in the space provider file.
The bug
The zero-width space character, rather than being a zero-width space, appears to fall back to GNU Unifont and renders as a control character.
How to reproduce
Paste this into a text field:
a​bAlternatively, run this command:
{"text": "a\u200Bb"}/tellraw @pExpected results
The zero-width space would not be visible.
Actual results
It is.
How to fix
Define this as a width of 0 in the space provider file.
The bug
The zero-width space character, rather than being a zero-width space, appears to fall back to GNU Unifont and renders as a control character.
How to reproduce
Paste this into a text field:
a​bAlternatively, run this command:
/tellraw @p {"text": "a\u200Bb"}Expected results
The zero-width space would not be visible.
Actual results
It is.
How to fix
Define this as a width of 0 in the space provider file.
Relates to MC-278216.
The bug
The zero-width non-breaking space character, rather than being a zero-width space, appears to fall back to GNU Unifont and renders as a control character.
How to reproduce
Paste this into a text field:
ab
Alternatively, run this command:
/tellraw @p {"text": "a\uFEFFb"}
Expected results
The zero-width space would not be visible.
Actual results
It is.
How to fix
Define this as a width of 0 in the space provider file.
Relates to MC-278216 and MC-278220.
The bug
The tab character U+0009 most often appears as a large space, often the width of four U+0020 spaces. However, in Minecraft, it appears as a control character.
How to reproduce
For some reason this character cannot be pasted into the game at all, so we will need to force it to appear using a command:
/tellraw @p {"text": "a\u0009b"}
Expected results
A large gap between a and b.
Actual results
It appears like a control character.

Can confirm.