Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / decodeheads.html
CommitLineData
86530b38
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
2<html>
3<head>
4<title>MHonArc Resources: DECODEHEADS</title>
5</head>
6<body>
7<!--x-rc-nav-->
8<table border=0><tr valign="top">
9<td align="left" width="50%">[Prev:&nbsp;<a href="dbfile.html">DBFILE</a>]</td><td><nobr>[<a href="../resources.html#decodeheads">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="definederived.html">DEFINEDERIVED</a>]</td></tr></table>
10<!--/x-rc-nav-->
11<hr>
12<h1>DECODEHEADS</h1>
13
14<!-- *************************************************************** -->
15<hr>
16<h2>Syntax</h2>
17
18<dl>
19
20<dt><strong>Envariable</strong></dt>
21<dd><p>
22<code>M2H_DECODEHEADS=</code>[ <code>0</code> | <code>1</code> ]
23</p>
24</dd>
25
26<dt><strong>Element(s)</strong><dt>
27<dd><p>
28<code>&lt;DECODEHEADS&gt;</code><br>
29<code>&lt;NODECODEHEADS&gt;</code>
30</p>
31</dd>
32
33<dt><strong>Command-line Option(s)</strong><dt>
34<dd><p>
35<code>-decodeheads</code><br>
36<code>-nodecodeheads</code>
37</p>
38</dd>
39
40</dl>
41
42<!-- *************************************************************** -->
43<hr>
44<h2>Description</h2>
45
46<p>MIME encoded message header data is decoded when creating
47HTML output and the (relevant) data stored in the database stays
48in encoded form. The DECODEHEADS resource can be set to decode
49"decode-only" charsets (as specified by the
50<a href="charsetconverters.html">CHARSETCONVERTERS</a> resource)
51when message headers are read. This will cause
52decode-only charsets to be stored in decoded "raw" form. Regular MIME
53processing is still done to still-encoded data when generating output.
54</p>
55
56<p>This resource may be useful to decode known character sets
57that are handle by default in the current locale. This will reduce
58the overhead performed each time MHonArc translates message header
59data for inclusion in generated pages.
60</p>
61
62<!-- *************************************************************** -->
63<hr>
64<h2>Default Setting</h2>
65
66<p>Off
67</p>
68
69<!-- *************************************************************** -->
70<hr>
71<h2>Resource Variables</h2>
72
73<p>N/A
74</p>
75
76<!-- *************************************************************** -->
77<hr>
78<h2>Examples</h2>
79
80<p>The following will tell MHonArc to just decode all non-ASCII
81encoded data, causing all character data to be treated by the
82default locale setting:
83</p>
84<pre>
85<b>&lt;DecodeHeads&gt;</b>
86<b><a href="charsetconverters.html">&lt;CharsetConverters override&gt;</a></b>
87plain; mhonarc::htmlize;
88default; -decode-
89<b>&lt;/CharsetConverters&gt;</b>
90</pre>
91
92
93<!-- *************************************************************** -->
94<hr>
95<h2>Version</h2>
96
97<p>2.0
98</p>
99
100<!-- *************************************************************** -->
101<hr>
102<h2>See Also</h2>
103
104<p>
105<a href="charsetconverters.html">CHARSETCONVERTERS</a>
106</p>
107
108<!-- *************************************************************** -->
109<hr>
110<!--x-rc-nav-->
111<table border=0><tr valign="top">
112<td align="left" width="50%">[Prev:&nbsp;<a href="dbfile.html">DBFILE</a>]</td><td><nobr>[<a href="../resources.html#decodeheads">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next:&nbsp;<a href="definederived.html">DEFINEDERIVED</a>]</td></tr></table>
113<!--/x-rc-nav-->
114<hr>
115<address>
116$Date: 2002/07/27 05:13:10 $ <br>
117<img align="top" src="../monicon.png" alt="">
118<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
119Copyright &#169; 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org">mhonarc@mhonarc.org</a><br>
120</address>
121
122</body>
123</html>