mojira.dev
MC-118784

/functions command doesn't work if the text file (function file) isn't coded as ANSI.

Put the summary of the bug you're having here

What I expected to happen was...:
Describe what you thought should happen here

  • I expected that the function command would work as usual.

What actually happened was...:
Describe what happened here

  • When I isuue the funtion command, I get an error message: "Unknown function"

Steps to Reproduce:
Put a step by step guide on how to trigger the bug here
1. Create a new function as usual
2. Turn the coding from ANSI to Unicode
3. Try to run the function command

Comments 1

Encoding should be UTF-8 without BOM.

asiancarrot

(Unassigned)

Unconfirmed

Minecraft 1.12

Retrieved