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

options.txt is read and written with default OS encoding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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")

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                francois137 franswa
              • Votes:
                6 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: