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

options.txt is read with default OS encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.15 Pre-release 5
    • Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.14.1
    • Confirmed
    • (Unassigned)

      The bug

      It looks like the options.txt file is read and written using the default OS encoding. This can cause problems with resource packs whose name contains non-ASCII characters.

      How to reproduce

      1. Create a resource pack with a non-ASCII character in its name or download the attached §3MC-117449.zip and place it in the resource pack folder
      2. Select the resource pack
      3. Restart the game
        → The resource pack is not selected anymore. Additionally the options.txt file shows a malformed resource pack name ("§3MC-117449.zip")

            boq [Mojang] Bartosz Bok
            francois137 franswa
            Votes:
            14 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: