Changeset 1868 for trunk/gsdl/etc


Ignore:
Timestamp:
2001-01-26T17:25:49+13:00 (23 years ago)
Author:
sjboddie
Message:

Made a bunch of changes to the building code to support lots of new
languages and encodings. It's still kind of a mess but should be fixed
up over the weekend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/etc/main.cfg

    r1856 r1868  
    8484# longname  -- The display name of the given encoding. If longname isn't set
    8585#              it will default to using shortname instead.
    86 
    8786# type      -- The type of encoding. Note that for most encodings this
    8887#              value is the directory name under which the map file for
    8988#              this encoding resides in the Greenstone unicode/MAPPINGS
    9089#              directory (e.g. 'WINDOWS', 'ISO_8859' etc.). It may also
    91 #              take the values 'GB' and 'UTF8'.
     90#              take the values 'CJK' and 'UTF8'.
    9291# mapfile   -- The name of the map file for use when converting between
    9392#              utf8 and the given encoding. The mapfile option is mandatory
    94 #              for all encoding types with the exception of GB and UTF8.
     93#              for all encoding types with the exception of UTF8. If type
     94#              is CJK, mapfile is the abbreviated name of the encoding as
     95#              used by the binary mapping files (.ump files). i.e. if the
     96#              encoding uses the map files gbku.ump and ugbk.ump, mapfile
     97#              will be set to "gbk".
    9598# label     -- The standard label to which you must set the value of
    9699#              "charset" within http headers or html meta tags to get a web
     
    101104Encoding shortname=w1251 "longname=Cyrillic (Windows-1251)" type=WINDOWS mapfile=1251.TXT label=windows-1251
    102105Encoding shortname=w1256 "longname=Arabic (Windows-1256)" type=WINDOWS mapfile=1256.TXT label=windows-1256
    103 Encoding shortname=gb "longname=Simplified Chinese (GBK)" type=GB label=GBK
     106Encoding shortname=w1256 "longname=Central European (Windows-1250)" type=WINDOWS mapfile=1250.TXT label=windows-1250
     107Encoding shortname=gb "longname=Chinese Simplified (GBK)" type=CJK label=GBK mapfile=gbk
     108Encoding shortname=sjis "longname=Japanese (Shift-JIS)" type=CJK label=shift_jis mapfile=sjis
    104109Encoding shortname=koi8r "longname=Cyrillic (KOI8-R)" type=CYRILLIC mapfile=koi8_r.txt label=koi8-r
     110
     111# The following encoding is not currently supported
     112# Encoding shortname=eucjp "longname=Japanese (EUC)" type=CJK label=euc-jp mapfile=jis
    105113
    106114
Note: See TracChangeset for help on using the changeset viewer.