diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-10 21:06:27 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-10 21:06:27 +0100 |
commit | 8a831f2bba632ebf9e24d0f2f407c5b42cebffe5 (patch) | |
tree | 2d864a68d244a755294d379879161d4228a40bc0 /conf | |
parent | 52a90af310f72ee726ae846c6dcbeb9e8adeb1db (diff) | |
download | rpg-8a831f2bba632ebf9e24d0f2f407c5b42cebffe5.tar.gz rpg-8a831f2bba632ebf9e24d0f2f407c5b42cebffe5.tar.bz2 |
romanization support in utf8 library
This patch addes basic romanization support to the utf-8 library. It
converts non-latin languages to ASCII.
The transliteration tables used where gathered from various places
on the net. I do not speak any of those languages so I can't say how
good they are. Any recommendations and fixes are welcome!
This can be enabled for ID cleaning by setting the deaccent option to 2.
It is also used in the XHTML renderer to generate section ids based
on the header titles. Leading digits and any remaining non-ASCII chars
are removed as well. This is the first step to make section ID always
XHTML compatible. Making sure they are unique is not implemented yet.
darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz
Diffstat (limited to 'conf')
-rw-r--r-- | conf/dokuwiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 9b027ea7f..afdbdf3a0 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -34,7 +34,7 @@ $conf['toptoclevel'] = 1; //Level starting with and below to inc $conf['maxtoclevel'] = 3; //Up to which level include into AutoTOC (max. 5) $conf['maxseclevel'] = 3; //Up to which level create editable sections (max. 5) $conf['camelcase'] = 0; //Use CamelCase for linking? (I don't like it) 0|1 -$conf['deaccent'] = 1; //convert accented chars to unaccented ones in pagenames? +$conf['deaccent'] = 1; //deaccented chars in pagenames (1) or romanize (2) or keep (0)? $conf['useheading'] = 0; //use the first heading in a page as its name $conf['refcheck'] = 1; //check for references before deleting media files $conf['refshow'] = 0; //how many references should be shown, 5 is a good value |