Files
gtk/gtk
Christoph Reiter a2e2f38642 gtkfilechoosernativewin32: Fix support for non-ASCII paths
The code used SIGDN_URL to get an URL for the selected item, but Windows URLs
are a mix of unicode and percent encoded characters in the locale encoding
and not something GFile can understand. The result is a garbage file
path.

Instead use SIGDN_FILESYSPATH to get a real file path if available.

Also checks the return value of g_utf16_to_utf8 because file paths on
Windows can contain lone surrogates which would make the conversion fail.

https://bugzilla.gnome.org/show_bug.cgi?id=783347
2017-06-02 13:20:25 +02:00
..
2016-11-07 11:24:43 -05:00
2017-05-22 14:23:14 +01:00
2017-05-22 14:26:32 +01:00
2017-03-30 09:55:45 -04:00
2016-08-23 21:01:45 +02:00
2017-03-30 09:55:45 -04:00
2017-05-08 18:03:26 -04:00
2017-05-10 20:25:40 +02:00
2016-10-21 10:21:44 -04:00
2016-07-26 00:21:48 -04:00
2016-08-04 20:40:34 +02:00
2016-04-24 03:50:22 -07:00
2017-05-22 14:23:14 +01:00
2016-09-30 14:20:01 -04:00
2016-11-19 13:29:17 -05:00
2016-05-23 14:19:30 -04:00
2017-05-22 14:23:14 +01:00
2017-05-08 15:57:53 +02:00
2016-11-23 14:50:16 -05:00
2017-03-20 20:45:11 +00:00
2016-08-23 21:01:45 +02:00
2017-04-25 11:15:09 +01:00
2016-07-08 00:06:14 -04:00
2016-07-08 00:06:14 -04:00
2017-03-08 23:08:56 -05:00
2017-03-26 15:07:01 +01:00
2016-05-06 07:08:56 -04:00
2016-06-01 09:27:24 -04:00
2016-08-25 23:02:27 +02:00
2016-11-07 11:24:43 -05:00
2016-11-07 11:24:43 -05:00
2016-04-26 21:25:02 -04:00
2017-05-22 14:26:32 +01:00
2016-10-20 14:26:43 -04:00
2017-05-09 14:23:14 +01:00