unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* pasting accented characters from mozilla into emasc
@ 2003-03-20  9:18 Martin Blais
  0 siblings, 0 replies; only message in thread
From: Martin Blais @ 2003-03-20  9:18 UTC (permalink / raw)
  Cc: monnier

hi.

i'm having problems pasting accented characters from Mozilla (1.3) into GNU 
emacs (21.3).

the accented characters show up as question marks ("?").

i found a bug report from J.Zawinski for mozilla, which involves the same 
problem but with xemacs:
http://bugzilla.mozilla.org/show_bug.cgi?id=128480

where it is mentioned that for Foöbar. he selection contains:

    STRING          Foo"bar.
    TEXT            Fo?bar.
    COMPOUND_TEXT   Fo?bar.
    UTF8_STRING     Fo\303\266bar.
    text/unicode    F\000o\000?\000b\000a\000r\000.\000
    text/html       \377\376F\000o\000?\000b\000a\000r\000.\000


it seems the problem is that emacs does not look at the text/unicode nor 
UTF8_STRING parts of the selection; or that mozilla should express the 
selection differently (i know next to nothing about selection protocols).  i 
assume emacs just takes the COMPOUND_TEXT and doesn't look at the 
UTF8_STRING.

i've been digging in a lot of other info, the web, bug reports, emacs 
documentation and the mule source code, trying lots of lisp code to try to 
hack into having the selection be converted into latin1, and i'm failing to 
get there... i can't find my way out of the mess and i'm quite frustrated.

what is the correct, easiest way to get my emacs to recognize the text/unicode 
selection from mozilla appropriately?

any insight appreciated.
thanks,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-20  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20  9:18 pasting accented characters from mozilla into emasc Martin Blais

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).