[Freewx-maint] Bug#877181: libwxgtk3.0-0v5: wxExecute fails with non-ascii characters

Olly Betts olly at survex.com
Fri Sep 29 21:39:42 UTC 2017


Control: forwarded -1 https://trac.wxwidgets.org/ticket/16206

On Fri, Sep 29, 2017 at 05:02:55PM +0300, Guy Rutenberg wrote:
> The fix is a simple one-line patch
> (https://github.com/wxWidgets/wxWidgets/commit/704055f200d97f327a8ee5212762b41bf1d6d503)
> which works for the current version (3.0.3.1) as well.

While the patch is small, it changes established behaviour.  And though
arguably the current behaviour is not helpful for modern Linux, we need
to think carefully before diverging from upstream on such things.

So I've suggested upstream should backport this to 3.0.x as I'd like to
see if they had a reason for not backporting this change already.

It seems this issue can be avoided by setting the locale, or by using
the char** overload of wxExecute - if upstream aren't going to fix
this in 3.0.4, then apps would be well advised to make sure they do
one of these things so that they work everywhere, rather than only on
Debian.

Cheers,
    Olly



More information about the Freewx-maint mailing list