German "Umlaute" in drag and drop
- Date: Mon, 9 Jan 2017 00:33:06 +0100
- From: Jan <jan@xxxxxxxxx>
- Subject: German "Umlaute" in drag and drop
while developing a application with GTK3 and the C api, I have an issue
with files/folder names which are beeing dragged and dropped into the
In particular its about "äöü" charaters inside the filename, I assume it
is the same with the pathes.
I have a file chooser dialog in my application, which does open/access
the files perfectly, even with the "Umlauts" (äöü) and all function
handling the work, work as expected.
Only when the same file becomes dragged and dropped, the special symbols
are mixed up.
From drag and drop I receive:
The information is stored and retrieved like this, from a
"drag_data_received" event, context.
gchar **uriList = gtk_selection_data_get_uris(selData);
And is then processed to remove the "%20" characters which works fine.
But I haven't found a way how to get the variant which displays the path
like I desire with Umlauts.
Perhaps this is more of a C question, but perhaps someone has a insight
in case the problem comes from GTK3 and not C itself.
I tried writing a variant which replaces the writing form with the
correct Umlaut symbol, but it just shows me a messed up filename.
Maybe anyone has an answer to this?
gtk-list mailing list