From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Blais Newsgroups: gmane.emacs.help Subject: pasting accented characters from mozilla into emasc Date: Thu, 20 Mar 2003 20:18:22 +1100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200303202018.22739.blais@iro.umontreal.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1048152137 8555 80.91.224.249 (20 Mar 2003 09:22:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 09:22:17 +0000 (UTC) Cc: monnier@cs.yale.edu Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 10:22:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vwFb-0002Dq-00 for ; Thu, 20 Mar 2003 10:22:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vwE1-0005M6-08 for gnu-help-gnu-emacs@m.gmane.org; Thu, 20 Mar 2003 04:20:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vwCQ-0003tT-00 for help-gnu-emacs@gnu.org; Thu, 20 Mar 2003 04:18:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vwCB-0003eV-00 for help-gnu-emacs@gnu.org; Thu, 20 Mar 2003 04:18:45 -0500 Original-Received: from ppp146.dyn143.pacific.net.au ([210.23.143.146] helo=jekyll.safehouse.com.au) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18vwBg-0003Vw-00 for help-gnu-emacs@gnu.org; Thu, 20 Mar 2003 04:18:12 -0500 Original-Received: from toenail.como (ppp150.dyn143.pacific.net.au [210.23.143.150]) h2K9IS3h010525; Thu, 20 Mar 2003 20:18:28 +1100 Original-Received: from toenail.como (localhost.localdomain [127.0.0.1]) by toenail.como (8.12.8/8.12.8) with ESMTP id h2K9IN0v009208; Thu, 20 Mar 2003 20:18:23 +1100 Original-Received: from localhost (localhost [[UNIX: localhost]]) by toenail.como (8.12.8/8.12.8/Submit) id h2K9INsD009206; Thu, 20 Mar 2003 20:18:23 +1100 Original-To: help-gnu-emacs@gnu.org User-Agent: KMail/1.4.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7745 hi. i'm having problems pasting accented characters from Mozilla (1.3) into G= NU=20 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= =20 problem but with xemacs: http://bugzilla.mozilla.org/show_bug.cgi?id=3D128480 where it is mentioned that for Fo=F6bar. 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=20 UTF8_STRING parts of the selection; or that mozilla should express the=20 selection differently (i know next to nothing about selection protocols).= i=20 assume emacs just takes the COMPOUND_TEXT and doesn't look at the=20 UTF8_STRING. i've been digging in a lot of other info, the web, bug reports, emacs=20 documentation and the mule source code, trying lots of lisp code to try t= o=20 hack into having the selection be converted into latin1, and i'm failing = to=20 get there... i can't find my way out of the mess and i'm quite frustrated= =2E what is the correct, easiest way to get my emacs to recognize the text/un= icode=20 selection from mozilla appropriately? any insight appreciated. thanks,