1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>hsc - Features - Replace Entities</TITLE>
<LINK REV="owns" TITLE="Thomas Aglassinger" HREF="mailto:agi@giga.or.at">
<LINK REL="Next" HREF="getsize.html">
<LINK REL="Copyright" HREF="../copy.html">
<LINK REL="Previous" HREF="uris.html">
<META name="ROBOTS" content="NOINDEX, NOFOLLOW">
</HEAD>
<BODY>
<A HREF="../index.html"><IMG SRC="../image/main.gif" ALT="Contents" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<IMG SRC="../image/noindex.gif" ALT="-----" ALIGN="middle" WIDTH="70" HEIGHT="16">
<A HREF="../copy.html"><IMG SRC="../image/copy.gif" ALT="Copyright" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="../index.html"><IMG SRC="../image/back.gif" ALT="Up" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="uris.html"><IMG SRC="../image/prev.gif" ALT="Previous" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<A HREF="getsize.html"><IMG SRC="../image/next.gif" ALT="Next" ALIGN="middle" WIDTH="70" HEIGHT="16"></A>
<HR>
<P ALIGN="right"><I>Go west<BR>Paradise is there<BR>You'll have all that you can eat<BR>Of milk & honey over there</I><BR>
(Natalie Merchant, "San Andreas Fault")
</P>
<H1>Replace Entities</H1>
<P>Once upon a time, some guys invented ASCII. As these guys have been
Americans, they did not care (or probably not even know) about the
rest of the world and said: "128 different characters are enough." So,
nowadays you still can't write and read a simple german umlaut within
different computer systems.</P>
<P>But, thank god, the guys who perpetrated html, after about 30 years
of a computer world without working umlauts, provide a solution to
this tricky problem: Instead of typing "Ü", simply write
<CODE>&Uuml;</CODE>. Congratulations, what a great idea! 7 bit
rulez!</P>
<p>So as consequence of this prehistoric {beep}, <KBD>hsc</KBD> can replace
special characters in the hsc-source with its entities in the
html-object. You just need to enable the <A
HREF="../options.html">RPLCENT</A> switch. </P>
<P><STRONG>Note:</STRONG>This only works for special
characters that have been defined with <A HREF="prefs.html#defent"><CODE><$defent></CODE></A> in
<I>hsc.prefs</I></P>
</BODY></HTML>
|