mharc-users

Re: Polish characters in Namazu

2003-04-16 11:18:19
On Wed, Apr 16, 2003 at 12:55:35PM -0500, Earl Hood wrote:
So browsers know that iso-8859-2 is the default document character set.
I've changed that and now is worse than before :)
You can check it at http://archiwum.debian.linux.org.pl
The message pages do not have the above <meta> tag in them.  When
I explicitly tell my browser to render using iso-8859-2, the pages
appear to render properly.
Yes I know that.

Polish characters doesn't work in view of message. In index works fine.
I tried to find any "places" where can I change it, and I found few and
changed that but it still doesn't work. Where is the template file for
any message ?
You need to define the resource settings in lib/common.mrc.in and
run 'make configure'.  Then do a 'make editidx' to update all existing
messages in the archive.
Here you are changes that I made to common.mrc.in :

<!-- Variable for defining any <meta http-equiv> tags. -->
<DefineVar chop>
HTTP-EQUIV
<meta HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-2">
</DefineVar>

<CharsetConverters>
iso-8859-2; mhonarc::htmlize
<CharsetConverters>

<IdxPgBegin>
<html>
<head>
$HTTP-EQUIV$
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>$IDXTITLE$</title>

<TIdxPgBegin>
<html>
<head>
$HTTP-EQUIV$
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>$TIDXTITLE$</title>

<MsgPgBegin>
<html>
<head>
$HTTP-EQUIV$
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>$SUBJECTNA:72$</title>

And I changed :

<Head>
<Title>

to : 

<Head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>

in every file that contained this set of headers. 
(Yes I know. I'm desperate ;->)

After that I made `make configure` and `make editidx`.
And it still doesn't work. I don't know what should I do now.
I think that I followed your sugestions and made everything correct.

"We" must repair this because I didn't make backup and after all these
changes I can't set it to original values ;)

regards
fEnIo
-- 
      _          Bartosz Feński aka fEnIo | tlen/mailto:fenio(_at_)o2(_dot_)pl
    _|_|_     32-050 Skawina - Głowackiego 3/15 - w. małopolskie - Polska
    (0 0)      phone:+48501608340 | ICQ:46704720 | GG:726362 | IRC:fEnIo
ooO--(_)--Ooo  http://skawina.eu.org | JID:fenio(_at_)jabber(_dot_)org | 
RLU:172001

Attachment: pgpdfMFhQGDwv.pgp
Description: PGP signature