win32: clipboard should not strip \r
@malureau
Submitted by Marc-André Lureau Assigned to gtk-win32 maintainers
Link to original bug (#706657)
Description
Currently, in gdk/win32/gdkselection-win32.c, text line ending is converted automatically from \r\n to \n for _utf8_string target. However, this is a loss of information: "Unicode was designed to preserve all information when converting a text file from any existing encoding to Unicode and back."
I imagine the reason could be that gtk+ internals handle only correctly \n endings? perhaps we could consider another target on win32, like UTF8_NATIVE_STRING ?