all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: deech <aditya.siram@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Finding and mapping all UTF-8 characters
Date: Sat, 5 Dec 2009 19:40:56 +0100	[thread overview]
Message-ID: <E1F8D681-32F8-4B5A-BDD5-6257A2362E2A@Web.DE> (raw)
In-Reply-To: <da535e83-3eec-429c-b63e-f304cc1f2dd3@n13g2000vbe.googlegroups.com>


Am 05.12.2009 um 17:03 schrieb deech:

> Is there a way to (1) search for the UTF-8 encoded characters in a
> document

Yes. In GNU Emacs 23 I've seen in the *Warnings* buffer hyper-links to  
the characters not fitting into the specified encoding.

You could also search for the usual prefixes of UTF-{7,8,16} encoded  
characters.

> and (2) map them to a sensible ASCII character?


How can you map 100,000 or 200,000 characters to a very limited set of  
100? This mapping would be candidate for the most successful  
compression algorithm...


Besides, it's not sane to save a file in an encoding a when the file's  
header tells its contents is in encoding b.

--
Greetings

   Pete

If you don't find it in the index, look very carefully through the  
entire catalogue.
		–  Sears, Roebuck, and Co., Consumer's Guide, 1897





  parent reply	other threads:[~2009-12-05 18:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05 16:03 Finding and mapping all UTF-8 characters deech
2009-12-05 16:38 ` Pascal J. Bourguignon
2009-12-05 18:40 ` Peter Dyballa [this message]
2009-12-05 20:29 ` harven

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=E1F8D681-32F8-4B5A-BDD5-6257A2362E2A@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=aditya.siram@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.