From: Martin Blais <blais@iro.umontreal.ca>
Cc: monnier@cs.yale.edu
Subject: pasting accented characters from mozilla into emasc
Date: Thu, 20 Mar 2003 20:18:22 +1100 [thread overview]
Message-ID: <200303202018.22739.blais@iro.umontreal.ca> (raw)
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,
reply other threads:[~2003-03-20 9:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200303202018.22739.blais@iro.umontreal.ca \
--to=blais@iro.umontreal.ca \
--cc=monnier@cs.yale.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.