NNBSP Fix
by tildejustin
NNBSP Fix corrects a Unicode change that put narrow no-break spaces into date and time text on Java 20 and later, and it applies to all of the mod's supported versions.
What it does
The fix targets the NNBSP characters that the CLDR Unicode v42 update caused in DateFormat output on Java 20 and later. Without it, the world realms list and some date displays show those invisible characters, which can break text matching or look wrong.
Fabric, Quilt, Legacy Fabric and Ornithe builds cover 1.1 – 1.19.4, with 78 release versions and snapshot builds published alongside them. Players add it to their own game, and a server needs no copy. The code is released under the MIT License and is open source, and the source and issue tracker are public. The latest file, 1.0.1+1.1-11w49a-1.20-23w16a, is for 1.19.4 and dates from 2023-12-21, the same day the mod was first published and last updated.
Key features
Realms list date fix
Removes the NNBSP characters from date text in the world realms list on Java 20 and later.
Title case button fix
Restores the title case of the Save and Quit to Title button in the affected snapshot.
Snapshot support
Tested on the 11w49a and 23w16a extreme snapshots, which are the ones the author checked directly.
Gallery
Compatibility
Latest build for each game version and loader.
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x3 of 3 versions with builds
1.12.x3 of 3 versions with builds
1.11.x3 of 3 versions with builds
1.10.x3 of 3 versions with builds
1.9.x5 of 5 versions with builds
1.8.x7 of 7 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
30 older game versions (1.1 – 1.8.2) not shown. All files on Modrinth
Use cases
Java 20 and later
Players running a Java 20 or newer runtime see date text without the stray NNBSP characters.
Speedrunning instances
Instances on older JRE builds can use a Java property as a different fix, so the mod is one of two ways to handle the issue.
Who it’s for: Players on Java 20 or later who see odd spacing in date text, and server owners who want a consistent realms list display across versions.
Questions
Does NNBSP Fix need to be installed on the server?
Which loaders does NNBSP Fix support?
Why does the author say the code might be a little cursed?
In the catalog
NNBSP Fix is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 9,374 mods support Minecraft 1.19.4.
More from tildejustin
Similar mods
What the author says
Fixes the NNBSP character in DateFormat outputs in Java 20+ as caused by the CLDR Unicode v42 update. This was fixed in 23w17a (1.20-alpha.23.17.a) though a font rendering revamp and was introduced in 11w49a (1.1-alpha.11.49.a), which, fun fact, was the same version that put the Save and Quit to Title button into…
Official listing
- Modrinth page
- modrinth.com/mod/nnbsp-fix
- Owner
- tildejustin
- Published
- 2023-12-21
- Updated on Modrinth
- 2023-12-21
- Facts verified
- 2026-10-15
