When trying to edit some script for a first time, Greasemonkey prompts for an editor location. User chooses desired edtor, and it's being written to greasemonkey.editor config variable.
But when the path to editor includes non-ASCII symbols (in my case, it's "/Applications/Программирование/TextMate.app"), editor cannot be launched. The only solution is to move my editor to some fail-safe location and set config variable manually, which is quite frustrating.
I suppose this issue may apply to other operating systems as well.
is "/Application/Программирование/TextMate.app" stored in the greasemonkey.editor config variable correctly? or does that look incorrect?
yes, it's a correct path
Confirmed, on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:22.214.171.124) Gecko/20100722 Firefox/3.6.8. Console dumps:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:126.96.36.199) Gecko/20100722 Firefox/3.6.8
FSPathMakeRef(/.../@>3@0<<8@>20=85/TextWrangler.app) failed with error -43.
Using runw would prob fix this, since the docs say it was added in Gecko 1.9.3 it won't work for FF <= 3.6 so checking that it exists and using it when it does is a solution that will only work for newer versions of FF, afaictatm.
just tested using runwAsync on a folder with the name above, and that worked.
The dupe #1325 says this happens on Win7 as well.
Non-ascii editor path works (in Firefox 4+).