DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2849
Version: 1.3-current


After some more reading, I see now that the Xdnd protocol 
wants dragged filenames to be expressed with the text/uri-list [1]
data type. This in turn makes filenames URL-encoded, that is,
all bytes not allowed in URLs are replaced by %XY in base 16.

Since this encoding is imposed by the Xdnd protocol, I conclude
that FLTK can expect to get it on all X11 platforms.

The question thus becomes:

should FLTK follow the Xdnd rule on the X11 platform
   or
should FLTK hide platform differences and deliver a UTF-8
   string on all platforms ?

I would much prefer to hide platform differences,
although differences would still exist (e.g., 
presence of the "file://" prefix only under X11).

Opinions ?

@Albrecht: I agree with your improvement suggestions,
and, yes, this moves the last NULL byte.


[1] http://www.newplanetsoftware.com/xdnd/dragging_files.html


Link: http://www.fltk.org/str.php?L2849
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to