mhonarc-users

Re: Converting ISO 8859-2 characters

2001-01-19 21:29:38
On January 19, 2001 at 22:30, "Peter Seitz" wrote:

<CharsetConverters>
plain;          mhonarc::htmlize;
us-ascii;       mhonarc::htmlize;
iso-8859-1;     mhonarc::htmlize;
iso-8859-2;     iso_8859::str2sgml;     iso8859-ref.pl
iso-8859-3;     iso_8859::str2sgml;     iso8859.pl
iso-8859-4;     iso_8859::str2sgml;     iso8859.pl
iso-8859-5;     iso_8859::str2sgml;     iso8859.pl
iso-8859-6;     iso_8859::str2sgml;     iso8859.pl
iso-8859-7;     iso_8859::str2sgml;     iso8859.pl
iso-8859-8;     iso_8859::str2sgml;     iso8859.pl
iso-8859-9;     iso_8859::str2sgml;     iso8859.pl
iso-8859-10;    iso_8859::str2sgml;     iso8859.pl
default;        -ignore-
</CharsetConverters>

But the result is not what I've thought. The characters still are
converted using the entities. I am stuck here.

Use a different package/function name.  What is happening is that
which ever library is read last, iso8859.pl or iso8859-ref.pl,
the last library's function definition will override the other.

Change iso8859-ref.pl to use a package name of "iso_8859_ref",
and register it as:

iso-8859-2;     iso_8859_ref::str2sgml;     iso8859-ref.pl

--ewh

<Prev in Thread] Current Thread [Next in Thread>