![](https://secure.gravatar.com/avatar/b47d036b8f12e712f4960ba78404c3b2.jpg?s=120&d=mm&r=g)
10 Dec
2008
10 Dec
'08
12:48 a.m.
I learned that Windows + GOption is a combination full of fail.
http://bugzilla.gnome.org/show_bug.cgi?id=522131
Until this bug is fixed, we need to use a modified in-tree version of GOption source code which accepts an UTF-8 encoded argv on Windows (a patch is attached to that bug). If I move the option parser into a separate object, put both the in-tree code and the parser object in the Inkscape namespace and only include the in-tree code's header on Windows, the modified implementation will only be used there with no additional changes. GOption source is a single 56kB file + 6kB header.
Regards, Krzysztof Kosiński
--
View this message in context: http://www.nabble.com/Parsing-a-command-line-to-argc-argv-tp20874473p2092700...
Sent from the Inkscape - Dev mailing list archive at Nabble.com.