Mojira Archive
MC-117449

options.txt is read with default OS encoding

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

Fixed

franswa

[Mojang] Bartosz Bok

2017-05-14, 12:41 AM

2019-12-06, 06:52 AM

2019-12-05, 01:57 PM

14

5

Confirmed

(Unassigned)

encoding, options, resource-pack

Minecraft 1.12 Pre-Release 2 - Minecraft 1.14.1Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.14.1

1.15 Pre-release 5