I'm not sure if it's necessary but have you checked you don't have to handle argv[0] the same way ?
(Eg geany is in an directory containing unicode characters)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1258#issuecomment-253580245