Hi,
I would like to hear from people knowledgeable in midgard what each of
the following lines in different files and pertaing CHARSET ENCODINGS or
localizations actually do, and whether there are dependencies between
them (i.e. setting one should would require another to be set, too).
>>>>>/usr/lib/apache/midgard-root.php
 /* Uncomment the following line if you want to get dates
   /* localized (replace second parameter with correct locale)*/
   /* setlocale("LC_ALL","ru_RU.KOI8-R");                     */
  

>>>>>/etc/httpd/conf/midgard-data.conf
# Configure text parser:
    # Change to 'russian' for Russian Midgard
    MidgardParser latin1
    MidgardBlobDir "/var/www/midgardblobs"

    # Configuration for Russian Midgard:
    <IfModule mod_charset.c>
     # default charset for real or virtual server (selected if all other
charset-
     # selections methods fails)
     CharsetDefault iso-8859-2
     # Default source (on-disk) charset (we keep all content in DB in
KOI8-R
     # encoding). If you want different encoding, please re-encode
midgard-ru.sql
     # before inserting it into DB too.
     CharsetSourceEnc iso-8859-2
     # Force mod_charset to do its work
     CharsetDisable Off
    </IfModule>
NOTE: I have set iso-8859-2 for CharsetDefault and CharsetSourceEnc but
left latin1 in MidgardParser 'cause I'm not sure this is the right way
to do.

>>>>>/usr/local/etc/repligard.conf
<database
                schema="/usr/local/share/midgard/repligard.xml"
                name="midgard"
                username="midgard"
                password="xxxxxx"
                encoding="ISO-8859-2"
                blobdir="/var/www/midgardblobs"

NOTE: again, I set ISO-8859-2 for my purpose, I am not sure it is right.

Or better yet, could anyone tell me what should be set for the Polish
site to diplay right charset in each frame and window.
I don't know where to set <META HTTP-EQUIV...> Tag in Midgard.

Benedict

PS. Is it possible to have english admin interface with latin1 charset
while builing a site with latin2 charset?

AegirCMS-1.0-RC1
System setup Midgard-1.4.4
RH7.2




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to