HXUNENT(1) | HTML-XML-utils | HXUNENT(1) |
hxunent - replace HTML predefined character entities by UTF-8
hxunent [ -b ] [ -f ] [ file ]
The hxunent command reads the file (or standard input) and copies it to standard output with &-entities by their equivalent character (encoded as UTF-8). E.g., " is replaced by " and < is replaced by <.
The following options are supported:
The program's exit value is 0 if all went well, otherwise:
asc2xml(1), xml2asc(1), UTF-8 (RFC 2279)
The program assumes entities are as defined by HTML. It doesn't read a document's DTD to find the actual definitions in use in a document. With -f, it will even remove all entities that are not HTML entities.
10 Jul 2011 | 7.x |