help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning HTML character references into something readable?


From: Karl Eichwalder
Subject: Re: Turning HTML character references into something readable?
Date: Tue, 29 Apr 2003 05:55:04 +0200
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux)

Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes:

> The recode tool probably assumes that HTML text is in iso-8859-1
> encoding, while your file seems to be UTF-8 already.

Probably.  Reading the recode manual I came up with this command line
solution:

    echo "Danke sch.ANvn &#1070;&#1071;" \
      | recode -d ..html | recode html..utf-8
    =>
    Danke sch.ANvn $B'@'A(B

Writing a proper Emacs command will be the next step :)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]