From c4ebf02bce968e4846a0be72dfa7b104f21f5166 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 27 Aug 2016 12:28:27 -0400 Subject: Optionally allow using Boost.Locale for hashcomp --- data/anope.example.conf | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) (limited to 'data') diff --git a/data/anope.example.conf b/data/anope.example.conf index e75b01e74..7724c8125 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -356,6 +356,31 @@ options #user = "anope" #group = "anope" + /* + * Chooses the configuration file used to configure casemaps for Anope. + * Anope uses this case map to compare, with case insensitivity, + * nick names and channel names. + * + * Two casemaps shipped with Anope are ascii and rfc1459. + * + * You may create your own instead by defining casemapping directives + * similar to how ascii.conf and rfc1459.conf do. However, they are + * limited to single byte characters only. + * + * Alternatively, if you have Boost.Locale installed, instead of configuring + * a casemapping configuration file, you may configure a locale name. This + * can support variable-length character encodings like utf-8. + * + * The casemapping you use should be set to what your IRCd uses, which is + * probably rfc1459. However, Anope has always used ascii for comparison, + * so the default is ascii. + * + * Changing this value once set is not recommended. + */ + casemap = "ascii" + #casemap = "rfc1459" + #locale = "utf-8" + /* * This key is used to initiate the random number generator. This number * MUST be random as you want your passcodes to be random. Don't give this @@ -519,26 +544,6 @@ options #defaultlanguage = "es_ES.UTF-8" } -/* - * [REQUIRED] Casemapping configuration - * - * Includes the configuration for the casemap services should use. - * Anope uses this case map to compare, with case insensitivity, - * things such as nick names, channel names, etc. - * - * Two casemaps shipped with Anope are ascii and rfc1459. - * - * This value should be set to what your IRCd uses, which is probably rfc1459, - * however Anope has always used ascii for comparison, so the default is ascii. - * - * Changing this value once set is not recommended. - */ -include -{ - name = "ascii.conf" - #name = "rfc1459.conf" -} - /* * [OPTIONAL] BotServ * -- cgit