[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pasting accented characters from mozilla into emasc
From: |
Martin Blais |
Subject: |
pasting accented characters from mozilla into emasc |
Date: |
Thu, 20 Mar 2003 20:18:22 +1100 |
User-agent: |
KMail/1.4.3 |
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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pasting accented characters from mozilla into emasc,
Martin Blais <=