Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261334

Bad text in timestamp in world selection when running on Java 20

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.4
    • None
    • Arch Linux, Java 20 (Temurin).
    • Plausible
    • Text

      When running on Java 20, the timestamp has a weird character in it. This seems to occur on all recent versions of the game, at least back to 1.18.2. It does not occur when running on Java 19, 18, or 17.

       

      (Current) Code Analysis:

       

      ICU 72 changed date formatting to use Narrow-No Break Spaces (NNBSP), however the Minecraft text renderer does not consider this a space and renders the text NNBSP instead of a space, even though they should visually be the same. There is no easy fix outside either replacing all NNBSP with spaces or allowing NNBSP to be rendered properly.

        1. nobug.png
          nobug.png
          427 kB
        2. bug.png
          bug.png
          432 kB
        3. bugmacos.png
          bugmacos.png
          104 kB

            Unassigned Unassigned
            ims212 IMS
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: