all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: E Sabof <esabof@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: decoding html char codes
Date: Mon, 30 Dec 2013 23:47:05 +0000	[thread overview]
Message-ID: <CAEp6DyZuXO7Lzhm++OBr-gAVdHwMy6MRsvYiUaJsqjQd2-mT7A@mail.gmail.com> (raw)

On a farily regular basis, I need to convert strings like this:

&lt;b&gt;foo &amp; bar&lt;/b&gt;

to this:

<b>foo & bar</b>

I have an ad-hoc dictionary for doing such translations. However emacs
seems to be shipped with at least 2. One located in etc/nxml/ and another
in lisp/leim/quail/sgml-input.el. Does anyone know through which APIs can
these dictionaries be accessed?

Evgeni


             reply	other threads:[~2013-12-30 23:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30 23:47 E Sabof [this message]
2014-01-01 14:58 ` decoding html char codes Stefan Monnier
     [not found] ` <mailman.10780.1388588361.10748.help-gnu-emacs@gnu.org>
2014-01-05 22:08   ` esabof
2014-01-07  0:11   ` Ted Zlatanov
2014-01-07  1:48     ` Stefan Monnier
     [not found]     ` <mailman.11248.1389059334.10748.help-gnu-emacs@gnu.org>
2014-01-08 16:00       ` Ted Zlatanov

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=CAEp6DyZuXO7Lzhm++OBr-gAVdHwMy6MRsvYiUaJsqjQd2-mT7A@mail.gmail.com \
    --to=esabof@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.