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

Non-Breaking space (" ") prints as "[NBSP]" from command block (incorrectly), but from chat it prints as " " (correctly)

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b
    • Fix Version/s: Minecraft 1.12.1
    • Environment:

      MacOSX 10.11.5 (15F34)
      Intel HD Graphics 5000 1536 MB

    • Confirmation Status:
      Confirmed

      Description

      Execute this command from chat, then from command block.

      /title @p actionbar {"text":"3   non-breaking-spaces"}

      or this one:

      /tellraw @p {"text":"3   non-breaking-spaces"}

      or any other text related JSON command even nested in execute:

      /execute @p ~ ~ ~ /tellraw @p {"text":"3   non-breaking-spaces"}

      Expected:

      • same output:
        3   non-breaking-spaces

      Actual:

      • different output:
        CHAT:
        3   non-breaking-spaces

        COMMAND BLOCK:

        3non-breaking-spaces

      Possible cause:

      • The way text is parsed and formatted from chat is different from command blocks.

      ( is used to represent the 'bugged' [nbsp] character)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              m124367 Melvin Schop
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: