Hi,

Toni Milovan wrote:
> I need Midgard to support other language encodings such as ISO 8859-2,
> windows-1250 etc., and I'd like to know  when are you planning to
> implement that support.

Initial changes for this was added in 1.2.5 by the Russian Midgard
patch. It shouldn't be too hard to extend those changes for real
multi-encoding support.

> I'm interested to work on this "on myself" but I will need some
> guidelines.

There are few places in Midgard sources that handle charsets. One is the
midgard-lib's file format.c that contains the formatting utilities used
in outputting html content. Those utilities use a conversion table that
currently only converts ISO 8859-1 characters to html entities. The
Russian Midgard patch just disables this conversion and could thus be
used for other encodings as well. Another possibility is to create other
conversion tables that could be used conditionally either by a
compile-time switch (that would affect all Midgard sites on a host) or a
special runtime flag that could be used to set the encoding on a host-,
style-, page- or even article-level.

Some changes are also needed for the mgd_create_mail function. You
should also check the mod_charset module for additional support.

Jukka

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to