Feature request: relax "MenuTitle:" placement restrictions

I’m trying to write a script that has fancypants Unicode code points in it, but I can’t have a script that shows up in the list and runs.

If I have a file that starts with

#MenuTitle: [MIDDLE DOT]Ah [RIGHTWARDS ARROW] [MIDDLE DOT]Awe

coding: UTF-8

…then the script shows up in the list, but errors out with

File “ah2awe.py”, line 1
SyntaxError: Non-ASCII character ‘\xc2’ in file ah2awe.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

If I reverse the comments to

coding: UTF-8

#MenuTitle: [MIDDLE DOT]Ah [RIGHTWARDS ARROW] [MIDDLE DOT]Awe

the script doesn’t show up in the list.

Could Glyphs be changed so the “#MenuTitle” doesn’t need to be the first line in the file?

#MenuTitle: blablabla

-- coding: utf-8 --

… works fine for me.

I can confirm that is does not work with non-ASCII characters in the name. And I fixed it. Now you can put the #MenuTitle in the second line.

Thanks!