summaryrefslogtreecommitdiff
path: root/docs/conf
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-06-09 20:11:20 +0100
committerPeter Powell <petpow@saberuk.com>2015-06-14 18:18:26 +0100
commit8ffce4d2f3ab29677b466238ce900a85b6c9d693 (patch)
treeb39c7d297b1c865e3051434c74dcbf425adc1064 /docs/conf
parent10127b6540c6c30bdb1bfa4c0d4d4afe30c2f22e (diff)
Fix various issues with the nationalchars module.
- Strip the directory name in the default casemapping value. - Error out if the casemapping value contains a space. - Error out if the locale file failed to load. - Fix relative file path when building on Windows. - Install nationalchars files on Windows.
Diffstat (limited to 'docs/conf')
-rw-r--r--docs/conf/modules.conf.example11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index 32701f0c4..364c30a14 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -1148,10 +1148,13 @@
# 2) Allows using custom (national) casemapping over the network.
#<module name="m_nationalchars.so">
#
-# file - filename of existing file in "locales" directory
-# casemapping - custom value for 005 numeric (if you want it to be
-# different from the filename). Set this to the name of
-# the locale if you are specifying an absolute path.
+# file - Location of the file which contains casemapping rules. If this
+# is a relative path then it is relative to "<PWD>/../locales"
+# on UNIX and "<PWD>/locales" on Windows.
+# casemapping - The name of the casemapping sent to clients in the 005
+# numeric. If this is not set then it defaults to the name
+# of the casemapping file unless the file name contains a
+# space in which case you will have to specify it manually.
#<nationalchars file="bynets/russian-w1251-charlink" casemapping="ru_RU.cp1251-charlink">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#