Mojira Archive
MC-278216

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.

Unresolved

Connor Steppie

2024-11-09, 12:23 PM

2025-01-17, 02:33 PM

1

1

Confirmed

Text

characters-needing-improvement

1.21.3, 24w45a, 25w03a

-