| 1 |
<html> |
| 2 |
<body> |
| 3 |
<pre> |
| 4 |
<!-- ================================================================== --> |
| 5 |
<!-- File: |
| 6 |
$Id: utf-8-encode.mrc,v 1.3 2004/03/15 21:07:18 ehood Exp $ |
| 7 |
Author: |
| 8 |
Earl Hood <earl @ earlhood . com> |
| 9 |
|
| 10 |
Description: |
| 11 |
MHonArc, <http://www.mhonarc.org/>, resource file to |
| 12 |
encode message text data into Unicode UTF-8. This only |
| 13 |
works with v2.6.0, or later, of MHonArc. |
| 14 |
|
| 15 |
Notes: |
| 16 |
* This is a more general version of utf-8.mrc. Where |
| 17 |
utf-8.mrc basis its conversion via CHARSETCONVERTERS, |
| 18 |
this does it via TEXTENCODE. |
| 19 |
|
| 20 |
The advantage of TEXTENCODE, is that message text data, |
| 21 |
including headers, are converted to UTF-8 when read. This |
| 22 |
provides a performance advantage over the CHARSETCONVERTERS |
| 23 |
method, and TEXTENCODE affects all text entities in a |
| 24 |
message bodies. The CHARSETCONVERTERS method depends on |
| 25 |
individual text-based MIMEFILTERS to explicitly support |
| 26 |
CHARSETCONVERTERS. TEXTENCODE is transparent to MIMEFILTERS. |
| 27 |
|
| 28 |
--> |
| 29 |
<!-- ================================================================== --> |
| 30 |
|
| 31 |
<b><a href="../resources/textencode.html"><TextEncode></a></b> |
| 32 |
utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm |
| 33 |
<b></TextEncode></b> |
| 34 |
|
| 35 |
<-- With data translated to UTF-8, it simplifies CHARSETCONVERTERS --> |
| 36 |
<b><a href="../resources/charsetconverters.html"><CharsetConverters override></a></b> |
| 37 |
default; mhonarc::htmlize |
| 38 |
<b></CharsetConverters></b> |
| 39 |
|
| 40 |
<-- Need to also register UTF-8-aware text clipping function --> |
| 41 |
<b><a href="../resources/textclipfunc.html"><TextClipFunc></a></b> |
| 42 |
MHonArc::UTF8::clip; MHonArc/UTF8.pm |
| 43 |
<b></TextClipFunc></b> |
| 44 |
|
| 45 |
<!-- The beginning page markup of MHonArc pages need to be modified |
| 46 |
to tell clients that the pages are in UTF-8 by using a |
| 47 |
<meta http-equiv> tag. |
| 48 |
|
| 49 |
The following resource settings are just the default settings |
| 50 |
for each resource but with the appropriate <meta http-equiv> |
| 51 |
tag added. |
| 52 |
--> |
| 53 |
|
| 54 |
<b><a href="../resources/idxpgbegin.html"><IdxPgBegin></a></b> |
| 55 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 56 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 57 |
<html> |
| 58 |
<head> |
| 59 |
<title><b><a href="../rcvars.html#IDXTITLE">$IDXTITLE$</a></b></title> |
| 60 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 61 |
</head> |
| 62 |
<body> |
| 63 |
<h1><b><a href="../rcvars.html#IDXTITLE">$IDXTITLE$</a></b></h1> |
| 64 |
<b></IdxPgBegin></b> |
| 65 |
|
| 66 |
<b><a href="../resources/tidxpgbegin.html"><TIdxPgBegin></a></b> |
| 67 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 68 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 69 |
<html> |
| 70 |
<head> |
| 71 |
<title><b><a href="../rcvars.html#TIDXTITLE">$TIDXTITLE$</a></b></title> |
| 72 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 73 |
</head> |
| 74 |
<body> |
| 75 |
<h1><b><a href="../rcvars.html#TIDXTITLE">$TIDXTITLE$</a></b></h1> |
| 76 |
<b></TIdxPgBegin></b> |
| 77 |
|
| 78 |
|
| 79 |
<b><a href="../resources/msgpgbegin.html"><MsgPgBegin></a></b> |
| 80 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 81 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 82 |
<html> |
| 83 |
<head> |
| 84 |
<title><b><a href="../rcvars.html#SUBJECTNA">$SUBJECTNA$</a></b></title> |
| 85 |
<link rev="made" href="mailto:<b><a href="../rcvars.html#FROMADDR">$FROMADDR$</a></b>"> |
| 86 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 87 |
</head> |
| 88 |
<body> |
| 89 |
<b></MsgPgBegin></b> |
| 90 |
</pre> |
| 91 |
</body> |
| 92 |
</html> |