#!/bin/bash

# html-iso1: converts HTML to ISO-8859-1

perl -pe 's|&nbsp;| |g;s|&iexcl;|¡|g;s|&cent;|¢|g;s|&pound;|£|g;s|&curren;|¤|g;s|&yen;|¥|g;s|&brvbar;|¦|g;s|&sect;|§|g;s|&uml;|¨|g;s|&copy;|©|g;s|&ordf;|ª|g;s|&laquo;|«|g;s|&not;|¬|g;s|&reg;|®|g;s|&macr;|¯|g;s|&deg;|°|g;s|&plusmn;|±|g;s|&sup2;|²|g;s|&sup3;|³|g;s|&acute;|´|g;s|&micro;|µ|g;s|&para;|¶|g;s|&middot;|·|g;s|&cedil;|¸|g;s|&sup1;|¹|g;s|&ordm;|º|g;s|&raquo;|»|g;s|&frac14;|¼|g;s|&frac12;|½|g;s|&frac34;|¾|g;s|&iquest;|¿|g;s|&Agrave;|À|g;s|&Aacute;|Á|g;s|&Acirc;|Â|g;s|&Atilde;|Ã|g;s|&Auml;|Ä|g;s|&Aring;|Å|g;s|&AElig;|Æ|g;s|&Ccedil;|Ç|g;s|&Egrave;|È|g;s|&Eacute;|É|g;s|&Ecirc;|Ê|g;s|&Euml;|Ë|g;s|&Igrave;|Ì|g;s|&Iacute;|Í|g;s|&Icirc;|Î|g;s|&Iuml;|Ï|g;s|&ETH;|Ð|g;s|&Ntilde;|Ñ|g;s|&Ograve;|Ò|g;s|&Oacute;|Ó|g;s|&Ocirc;|Ô|g;s|&Otilde;|Õ|g;s|&Ouml;|Ö|g;s|&times;|×|g;s|&Oslash;|Ø|g;s|&Ugrave;|Ù|g;s|&Uacute;|Ú|g;s|&Ucirc;|Û|g;s|&Uuml;|Ü|g;s|&Yacute;|Ý|g;s|&THORN;|Þ|g;s|&szlig;|ß|g;s|&agrave;|à|g;s|&aacute;|á|g;s|&acirc;|â|g;s|&atilde;|ã|g;s|&auml;|ä|g;s|&aring;|å|g;s|&aelig;|æ|g;s|&ccedil;|ç|g;s|&egrave;|è|g;s|&eacute;|é|g;s|&ecirc;|ê|g;s|&euml;|ë|g;s|&igrave;|ì|g;s|&iacute;|í|g;s|&icirc;|î|g;s|&iuml;|ï|g;s|&eth;|ð|g;s|&ntilde;|ñ|g;s|&ograve;|ò|g;s|&oacute;|ó|g;s|&ocirc;|ô|g;s|&otilde;|õ|g;s|&ouml;|ö|g;s|&divide;|÷|g;s|&oslash;|ø|g;s|&ugrave;|ù|g;s|&uacute;|ú|g;s|&ucirc;|û|g;s|&uuml;|ü|g;s|&yacute;|ý|g;s|&thorn;|þ|g;s|&yuml;|ÿ|g;'

