Re: Mozilla selections question

Philip <[email protected]>
Newsgroups gmane.comp.mozilla.devel.gtk
Organization Telenet Internet
Message-ID <[email protected]>
Christopher Blizzard wrote:

> Well, the target selection is already included in the information that
> you get from the clipboard interfaces, so that shouldn't be an issue.
> More importantly is that the gtk 1.2 version of Mozilla uses UCS2 for
> the string formats, even though it doesn't advertise that as the
> encoding for the string.  (Lame, yes, I know.)  This is fixed in the
> Gtk2 version, but that has yet to make it to production quality code.

Okay,

My next question is.. what is the best way to convert this UCS2 string to
a format that I can use in Gnome/Gtk+ applications? (example : I want to
show the string in a GtkTextView/GtkText widget.)

OpenOffice.org also has a "text/html" target. This results in a correct
string. So won't this create an incosistent protocol? In application a it
gives me an UCS2 string, in application b it's a normal one :-\

heh...


-- 
Philip van Hoof aka freax (http://www.freax.eu.org)
irc: irc.openprojects.net mailto:freax @ linux.be
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.