On Tue, 2002-12-17 at 10:13, Jeffrey Stedfast wrote:
> On Tue, 2002-12-17 at 02:04, Joe Marcus Clarke wrote:
> > Hi.  I have filed Ximian bug 34911 stating that FreeBSD users cannot
> > copy and paste text from the Mozilla/Galeon main window into Evolution. 
> > Linux users do not seem to be affected.  I did some digging, and I think
> > I'm close to solving this problem.  I just need a little help.
> > 
> > If I edit gtkhtml-1.1.7/src/gtkhtml.c, and remove the text/html format
> > from the formats array, this problem goes away.  Therefore, the cause
> > seems to be in the new text/html pasting code (i.e. the code that didn't
> > exist in gtkhtml 1.0.4).  Now, I played with the new html selection
> > functions, but I am unable to make things work.  I see that conversion
> > is being done between ucs2 and utf-8 character sets.  I'm curious as
> > ucs2, or UCS2 for that matter, is not a registered character set with
> > libiconv-1.8, nor is it statically mapped in gal's e-iconv.c.  How does
> > Linux handle this?  If I add a mapping from ucs2 to UCS-2 in e-iconv.c,
> > the problem is not solved.  And I'm not sure why gtkhtml assumes
> > Mozilla's character set is UCS2.  I personally use ISO-8859-1 (though no
> > matter which charset I choose in Mozilla, the pasting problem remains).
> 
> Mozilla's export charset is always UCS2 (aka Unicode16 aka
> iso-10646-1?). And it's internal charset is likely also unicode, despite
> what charset preferences you have chosen (although their internal
> charset *might* be utf-8, just like evolution's).
> 
> Anyways, my iconv seems to be able to handle the following:
> 
> UCS-2, UCS-2LE, UCS-2BE, UCS2, 
> UTF-16LE, UTF-16BE, UTF16, UTF16LE, UTF16BE
> 

Well, I added UCS2 to my iconv, and when I paste some thing from Galeon,
I get a bunch of underscores.  For example, when I paste the word
Multiple from Galeon, I get:

㰀琀愀戀氀攀 眀椀搀琀栀㴀∀㄀  ─∀ 戀漀爀搀攀爀㴀∀ ∀ 愀氀椀最渀㴀∀挀攀渀琀攀爀∀㸀㰀琀戀漀搀礀㸀㰀琀爀㸀㰀琀搀 愀氀椀最渀㴀∀爀椀最栀琀∀ 挀氀愀猀猀㴀∀猀愀渀猀∀ 瘀愀氀椀最渀㴀∀戀漀琀琀漀洀∀㸀㰀⼀琀搀㸀਀㰀⼀琀爀㸀਀㰀⼀琀戀漀搀礀㸀㰀⼀琀愀戀氀攀㸀਀਀㰀琀愀戀氀攀 眀椀搀琀栀㴀∀㄀  ─∀ 戀漀爀搀攀爀㴀∀ ∀ 愀氀椀最渀㴀∀挀攀渀琀攀爀∀㸀਀਀  㰀琀戀漀搀礀㸀㰀琀爀㸀਀    㰀琀搀 挀漀氀猀瀀愀渀㴀∀㈀∀㸀਀       㰀瀀㸀਀㰀戀椀最㸀㰀戀椀最㸀䴀甀氀琀椀瀀氀攀㰀⼀戀椀最㸀㰀⼀戀椀最㸀㰀⼀瀀㸀㰀⼀琀搀㸀㰀⼀琀爀㸀㰀⼀琀戀漀搀礀㸀㰀⼀琀愀戀氀攀㸀


Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      [EMAIL PROTECTED]
http://www.FreeBSD.org/gnome



Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to