port common.mrc changes to .in file
authorIan Kelling <iank@fsf.org>
Mon, 20 May 2019 16:54:09 +0000 (12:54 -0400)
committerIan Kelling <iank@fsf.org>
Mon, 20 May 2019 16:54:09 +0000 (12:54 -0400)
lib/common.mrc.in

index 91da1b328836017c32eb8d024d93d43adb7e8105..32468031c974c1e5f19fdb05dd12fa514e0b9bf7 100644 (file)
   -->
 <POSIXSTRFTIME>
 
+<!-- Added for rt#106039 -- bernie -->
+<!-- And #592561 and #592561, importantly also adding the html header line below in IdxPgBegin and MsgPgBegin -- ward -->
+<TextEncode>
+utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm
+</TextEncode>
+
+<-- With data translated to UTF-8, it simplifies CHARSETCONVERTERS -->
+<CharsetConverters override>
+default; mhonarc::htmlize
+</CharsetConverters>
+
+<-- Need to also register UTF-8-aware text clipping function -->
+<TextClipFunc>
+MHonArc::UTF8::clip; MHonArc/UTF8.pm
+</TextClipFunc>
+
 <!-- ================================================================== -->
 <!--   Custom Variable Defintions                                      -->
 <!-- ================================================================== -->
@@ -228,20 +244,24 @@ index.html
 <html>
 <head>
 <title>$IDXTITLE$</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style> .nowrap { white-space: nowrap } </style>
 </head>
 <body>
 <center>
 <em>Archives are refreshed every 30 minutes - for details, please visit
 <a href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
 <br>
-You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
+You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.
 <p>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
-<small><nobr>$THREAD-IDX-LINK$[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
-></small>
+<div class="nowrap">
+<small>$THREAD-IDX-LINK$[<a href="../"
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
+href="//lists.gnu.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </IdxPgBegin>
@@ -249,11 +269,11 @@ $SEARCH-FORM$
 <ListBegin>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
+<td align="left">$PREV-PERIOD-LINK$</td>
 <td align="center"><small
 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
 Messages in reverse chronological order</small></td>
-<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
+<td align="right">$NEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 <hr size="1" noshade>
@@ -281,8 +301,8 @@ Messages in reverse chronological order</small></td>
 <hr size="1" noshade>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
-<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
+<td align="left">$PREV-PERIOD-LINK$</td>
+<td align="right">$NEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 </ListEnd>
@@ -313,15 +333,16 @@ Messages in reverse chronological order</small></td>
 <em>Archives are refreshed every 30 minutes - for details, please visit <a
 href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
 <br>
-You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
+You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.
 <p>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
-<small><nobr
+<div class="nowrap">
+<small
 >$DATE-IDX-LINK$[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
-></small>
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </TIdxPgBegin>
@@ -329,11 +350,11 @@ $SEARCH-FORM$
 <THead>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
+<td align="left">$TPREV-PERIOD-LINK$</td>
 <td align="center"><small
 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
 Threads in reverse chronological order</small></td>
-<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
+<td align="right">$TNEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 <hr size="1" noshade>
@@ -357,8 +378,8 @@ Threads in reverse chronological order</small></td>
 <hr size="1" noshade>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
-<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
+<td align="left">$TPREV-PERIOD-LINK$</td>
+<td align="right">$TNEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 </TFoot>
@@ -378,15 +399,17 @@ Threads in reverse chronological order</small></td>
 <html>
 <head>
 <title>$SUBJECTNA:72$</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 </head>
 <body>
 <center>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
-<small><nobr>[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a 
-href="//lists.gnu.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small></nobr>
+<div class="nowrap">
+<small>[<a href="../"
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </MsgPgBegin>