unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Karl Eichwalder <keichwa@gmx.net>
Subject: Turning HTML character references into something readable?
Date: Sun, 27 Apr 2003 07:20:50 +0200	[thread overview]
Message-ID: <shr87oa53h.fsf@tux.gnu.franken.de> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 453 bytes --]

Is there already a fuction to turn these HTML character references into
proper characters?  "&#1071;" must come out as the cyrillic "^[$B'A^[(B" etc.

On the command line recode can do the trick:

^[.A^[N    echo "&#1071;" | recode html..utf-8

-- 
                                                         |      ,__o
http://www.gnu.franken.de/ke/                            |    _-\_<,
ke@suse.de (work) / keichwa@gmx.net (home)               |   (*)/'(*)

             reply	other threads:[~2003-04-27  5:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27  5:20 Karl Eichwalder [this message]
2003-04-27 15:54 ` Turning HTML character references into something readable? Benjamin Riefenstahl
2003-04-27 19:09   ` Karl Eichwalder
2003-04-28 13:02     ` Reiner Steib
2003-04-28 15:20       ` Kai Großjohann
2003-04-28 18:01         ` Reiner Steib
2003-04-29 13:53           ` Kai Großjohann
2003-04-28 17:12     ` Benjamin Riefenstahl
2003-04-29  3:55       ` Karl Eichwalder
2003-04-28 12:17 ` Colin Marquardt

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shr87oa53h.fsf@tux.gnu.franken.de \
    --to=keichwa@gmx.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).