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)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.12.1
    • Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b
    • MacOSX 10.11.5 (15F34)
      Intel HD Graphics 5000 1536 MB
    • Confirmed

      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)

            Unassigned Unassigned
            m124367 AgentM
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: