Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w02a
    • Fix Version/s: Minecraft 18w03a
    • Environment:

      Affected OS'

      • Windows 10 Pro; 64-bit
      • Windows 7; 64-bit
    • Confirmation Status:
      Confirmed

      Description

      The bug

      It appears the new language files are not read using UTF-8 (without BOM) as encoding or the game actively encodes the read content using UTF-8 again.

      For example (\u20AC) is displayed as € which is its UTF-8 encoded representation.

      How to reproduce

      1. Download the attached file MC-124179 resource pack.zip and place it in your resourcepacks folder
      2. Load the resource pack
      3. Use the following command
        /tellraw @s {"translate":"utf_8_test"}
        

      The language file is properly encoded using UTF-8 without BOM and contains the following:

      {
        "utf_8_test": "✓ (check mark)\n★ (star)\n☂ (umbrella)\n€ (Euro sign)"
      }
      

      But in-game the following is shown:

      ✓ (check mark)
      ★ (star)
      ☂ (umbrella)
      € (Euro sign)
      

        Attachments

        1. mc_bug.PNG
          mc_bug.PNG
          648 kB
        2. mc_should_look_like.PNG
          mc_should_look_like.PNG
          653 kB
        3. MC-124179 resource pack.zip
          0.9 kB
        4. pack.mcmeta
          0.2 kB
        5. ru_ru.json
          190 kB

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                mtzk Sergey
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: