From 3dd446de4155227d423e83628a10195e46b385aa Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 7 Jan 2020 16:55:25 +0000 Subject: Add a replacement for the nationalchars module. --- docs/conf/codepages/ascii.conf.example | 37 ++++++++++++++++++++++ docs/conf/codepages/latin1.conf.example | 42 +++++++++++++++++++++++++ docs/conf/codepages/rfc1459.conf.example | 41 ++++++++++++++++++++++++ docs/conf/codepages/strict-rfc1459.conf.example | 40 +++++++++++++++++++++++ docs/conf/modules.conf.example | 17 ++++++++++ 5 files changed, 177 insertions(+) create mode 100644 docs/conf/codepages/ascii.conf.example create mode 100644 docs/conf/codepages/latin1.conf.example create mode 100644 docs/conf/codepages/rfc1459.conf.example create mode 100644 docs/conf/codepages/strict-rfc1459.conf.example (limited to 'docs/conf') diff --git a/docs/conf/codepages/ascii.conf.example b/docs/conf/codepages/ascii.conf.example new file mode 100644 index 000000000..7c5ecdd85 --- /dev/null +++ b/docs/conf/codepages/ascii.conf.example @@ -0,0 +1,37 @@ +# This file contains ASCII codepage rules for use with the codepage module. + + + + # - + # 01234567899 + # ABCDEFGHIJKLMNOPQRSTUVWXYZ + # [\]^_` + # abcdefghijklmnopqrstuvwxyz + # {|} + + # a => A + # b => B + # c => C + # d => D + # e => E + # f => F + # g => G + # h => H + # i => I + # j => J + # k => K + # l => L + # m => M + # n => N + # o => O + # p => P + # q => Q + # r => R + # s => S + # t => T + # u => U + # v => V + # w => W + # x => X + # y => Y + # z => Z diff --git a/docs/conf/codepages/latin1.conf.example b/docs/conf/codepages/latin1.conf.example new file mode 100644 index 000000000..3beb002fd --- /dev/null +++ b/docs/conf/codepages/latin1.conf.example @@ -0,0 +1,42 @@ +# This file contains ISO 8859-1 codepage rules for use with the codepage module. + + + + # ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ + # ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö + # øùúûüýþÿ + + # ß => S + # à => À + # á => Á + # â => Â + # ã => Ã + # ä => Ä + # å => Å + # æ => Æ + # ç => Ç + # è => È + # é => É + # ê => Ê + # ë => Ë + # ì => Ì + # í => Í + # î => Î + # ï => Ï + # ð => Ð + # ñ => Ñ + # ò => Ò + # ó => Ó + # ô => Ô + # õ => Õ + # ö => Ö + # ø => Ø + # ù => Ù + # ú => Ú + # û => Û + # ü => Ü + # ý => Ý + # þ => Þ + +# Include the ASCII rules to avoid duplication. + diff --git a/docs/conf/codepages/rfc1459.conf.example b/docs/conf/codepages/rfc1459.conf.example new file mode 100644 index 000000000..32f453044 --- /dev/null +++ b/docs/conf/codepages/rfc1459.conf.example @@ -0,0 +1,41 @@ +# This file contains RFC 1459 codepage rules for use with the codepage module. + + + + # - + # 01234567899 + # ABCDEFGHIJKLMNOPQRSTUVWXYZ + # [\]^_` + # abcdefghijklmnopqrstuvwxyz + # {|} + + # a => A + # b => B + # c => C + # d => D + # e => E + # f => F + # g => G + # h => H + # i => I + # j => J + # k => K + # l => L + # m => M + # n => N + # o => O + # p => P + # q => Q + # r => R + # s => S + # t => T + # u => U + # v => V + # w => W + # x => X + # y => Y + # z => Z + # { => [ + # | => \ + # } => ] + # ~ => ^ diff --git a/docs/conf/codepages/strict-rfc1459.conf.example b/docs/conf/codepages/strict-rfc1459.conf.example new file mode 100644 index 000000000..b14e477e8 --- /dev/null +++ b/docs/conf/codepages/strict-rfc1459.conf.example @@ -0,0 +1,40 @@ +# This file contains strict RFC 1459 codepage rules for use with the codepage module. + + + + # - + # 01234567899 + # ABCDEFGHIJKLMNOPQRSTUVWXYZ + # [\]^_` + # abcdefghijklmnopqrstuvwxyz + # {|} + + # a => A + # b => B + # c => C + # d => D + # e => E + # f => F + # g => G + # h => H + # i => I + # j => J + # k => K + # l => L + # m => M + # n => N + # o => O + # p => P + # q => Q + # r => R + # s => S + # t => T + # u => U + # v => V + # w => W + # x => X + # y => Y + # z => Z + # { => [ + # | => \ + # } => ] diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 215f66137..29adff840 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -571,6 +571,20 @@ # To use, CLONES must be in one of your oper class blocks. # +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# Codepage module: Allows using a custom 8-bit codepage for nicknames +# and case mapping. +# +# You should include one of the following files to set your codepage: +# +# +# +# +# +# You can also define a custom codepage. For details on how to do this +# please refer to the docs site: +# https://docs.inspircd.org/3/modules/codepage + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Common channels module: Adds user mode +c, which, when set, requires # that users must share a common channel with you to PRIVMSG or NOTICE @@ -1414,6 +1428,9 @@ # National characters module: # 1) Allows using national characters in nicknames. # 2) Allows using custom (national) casemapping over the network. +# +# This module is incredibly poorly written and documented. You should +# probably use the codepage module instead for 8-bit codepages. # # # file - Location of the file which contains casemapping rules. If this -- cgit v1.2.3