<?xml version="1.0" encoding="ISO-8859-15"?>
<rss version="2.0"><channel>
<title>Entify</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/</link>
<description>Recent changes in Entify</description>
<item><title>Entify</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/Entify</link>
<guid>http://sange.fi/~atehwa/cgi-bin/piki.cgi/#1119876101</guid>
<description>&lt;p&gt;&lt;ins&gt;Tämä yksinkertainen ohjelma ISO Latin-1 -tekstin muuntamiseksi 
HTML-kelpoiseksi on yleistä omaisuutta. Muunnostaulukko on ripattu W3C 
Tidy:sta - tosin se ei ole siellä ollenkaan samassa muodossa.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;{{{ #include &lt;stdio.h&gt;&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;char *trans[] = { "\000", "\001", "\002", "\003", "\004", 
"\005", "\006", "\007", "\010", "\011", "\012", "\013", "\014", "\015", 
"\016", "\017", "\020", "\021", "\022", "\023", "\024", "\025", "\026", 
"\027", "\030", "\031", "\032", "\033", "\034", "\035", "\036", "\037", 
"\040", "\041", "&amp;quot;", "\043", "\044", "\045", "&amp;amp;", "\047", 
"\050", "\051", "\052", "\053", "\054", "\055", "\056", "\057", "\060", 
"\061", "\062", "\063", "\064", "\065", "\066", "\067", "\070", "\071", 
"\072", "\073", "&amp;lt;", "\075", "&amp;gt;", "\077", "\100", "\101", "\102", 
"\103", "\104", "\105", "\106", "\107", "\110", "\111", "\112", "\113", 
"\114", "\115", "\116", "\117", "\120", "\121", "\122", "\123", "\124", 
"\125", "\126", "\127", "\130", "\131", "\132", "\133", "\134", "\135", 
"\136", "\137", "\140", "\141", "\142", "\143", "\144", "\145", "\146", 
"\147", "\150", "\151", "\152", "\153", "\154", "\155", "\156", "\157", 
"\160", "\161", "\162", "\163", "\164", "\165", "\166", "\167", "\170", 
"\171", "\172", "\173", "\174", "\175", "\176", "\177", "\200", "\201", 
"\202", "\203", "\204", "\205", "\206", "\207", "\210", "\211", "\212", 
"\213", "\214", "\215", "\216", "\217", "\220", "\221", "\222", "\223", 
"\224", "\225", "\226", "\227", "\230", "\231", "\232", "\233", "\234", 
"\235", "\236", "\237", "&amp;nbsp;", "&amp;iexcl;", "&amp;cent;", "&amp;pound;", 
"&amp;curren;", "&amp;yen;", "&amp;brvbar;", "&amp;sect;", "&amp;uml;", "&amp;copy;", "&amp;ordf;", 
"&amp;laquo;", "&amp;not;", "&amp;shy;", "&amp;reg;", "&amp;macr;", "&amp;deg;", "&amp;plusmn;", 
"&amp;sup2;", "&amp;sup3;", "&amp;acute;", "&amp;micro;", "&amp;para;", "&amp;middot;", 
"&amp;cedil;", "&amp;sup1;", "&amp;ordm;", "&amp;raquo;", "&amp;frac14;", "&amp;frac12;", 
"&amp;frac34;", "&amp;iquest;", "&amp;Agrave;", "&amp;Aacute;", "&amp;Acirc;", "&amp;Atilde;", 
"&amp;Auml;", "&amp;Aring;", "&amp;AElig;", "&amp;Ccedil;", "&amp;Egrave;", "&amp;Eacute;", 
"&amp;Ecirc;", "&amp;Euml;", "&amp;Igrave;", "&amp;Iacute;", "&amp;Icirc;", "&amp;Iuml;", 
"&amp;ETH;", "&amp;Ntilde;", "&amp;Ograve;", "&amp;Oacute;", "&amp;Ocirc;", "&amp;Otilde;", 
"&amp;Ouml;", "&amp;times;", "&amp;Oslash;", "&amp;Ugrave;", "&amp;Uacute;", "&amp;Ucirc;", 
"&amp;Uuml;", "&amp;Yacute;", "&amp;THORN;", "&amp;szlig;", "&amp;agrave;", "&amp;aacute;", 
"&amp;acirc;", "&amp;atilde;", "&amp;auml;", "&amp;aring;", "&amp;aelig;", "&amp;ccedil;", 
"&amp;egrave;", "&amp;eacute;", "&amp;ecirc;", "&amp;euml;", "&amp;igrave;", "&amp;iacute;", 
"&amp;icirc;", "&amp;iuml;", "&amp;eth;", "&amp;ntilde;", "&amp;ograve;", "&amp;oacute;", 
"&amp;ocirc;", "&amp;otilde;", "&amp;ouml;", "&amp;divide;", "&amp;oslash;", "&amp;ugrave;", 
"&amp;uacute;", "&amp;ucirc;", "&amp;uuml;", "&amp;yacute;", "&amp;thorn;", "&amp;yuml;" 
};&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;int main( int ac, char *av[] ) { int c; char *escbeg = "\n[[[", 
*escr = escbeg; char *escend = "\n]]]";&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;while (( c = getchar() ) != EOF ) { if ( c == *escr ) else escr 
= escbeg; if ( !*escr ) { escr = escend; putchar( c ); while (( c = 
getchar() ) != EOF ) { if ( c == *escr ) else escr = escend; if ( 
!*escr ) break; else putchar( c ); } if ( c == EOF ) break; escr = 
escbeg; } if ( !c ) putchar( 0 ); /* because of how stdio handles 
strings */ else fputs( trans[c|], stdout ); } }&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;}}}&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;Tämän ohjelman copypaste aiheutti taas tarpeen yhteen 
korjaukseen [pikipiki]ssä. [Wikimuutokset].&lt;/ins&gt;

</description>
<pubDate>Mon, 27 Jun 2005 12:41:41 +0000</pubDate>
</item>

</channel></rss>
