Yeah the issue explicitly gives that as an example, apparently the editor does matter because notepad wants to be special and do something fancy that then breaks the config library Forge uses.
The current solution is to use a proper text editor like notepad++, VS Code, Sublime Text, etc. and save as plain UTF-8 without BOM.