all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Eure <ian@digg.com>
To: henry atting <nspm_01@literaturlatenight.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: replace placeholders
Date: Sun, 1 Mar 2009 09:55:22 -0800	[thread overview]
Message-ID: <9B32B887-B1CA-4A49-A865-FB0E2EE8C771@digg.com> (raw)
In-Reply-To: <873adxogmg.fsf@literaturlatenight.de>

On Feb 28, 2009, at 11:18 PM, henry atting wrote:

> I have a file which was converted from dos to unix and from latin1 to
> utf-8. Now it is speckeld with all these placeholders (\226) for non
> presentable signs.

It sounds like either your transcoding to UTF-8 is broken, or you're  
viewing the file with the wrong encoding.

\226 (0xE2) is LATIN SMALL LETTER A WITH CIRCUMFLEX in ISO-8859-1, so  
if that was present in the input it should have been converted to 0xC3  
0xA2.

Alternately, it could be the start of a UTF-8 encoded point from the  
general punctuation block (e.g. curly quotes), which are all three  
bytes starting with 0xE2. This would point to your editor reading the  
file with the wrong encoding.

Either way, I don't think simply removing the characters is the  
correct solution.

  - Ian




  parent reply	other threads:[~2009-03-01 17:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-01  7:18 replace placeholders henry atting
2009-03-01 17:17 ` Eli Zaretskii
2009-03-01 17:55 ` Ian Eure [this message]
     [not found] ` <mailman.2136.1235927829.31690.help-gnu-emacs@gnu.org>
2009-03-02 14:06   ` henry atting
2009-03-02 15:02     ` Peter Dyballa
     [not found]     ` <mailman.2209.1236006175.31690.help-gnu-emacs@gnu.org>
2009-03-03 15:49       ` henry atting
2009-03-03 20:36         ` Xah Lee

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=9B32B887-B1CA-4A49-A865-FB0E2EE8C771@digg.com \
    --to=ian@digg.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nspm_01@literaturlatenight.de \
    /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.