summaryrefslogtreecommitdiff
path: root/locales/readme.txt
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 15:14:22 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 15:14:22 +0000
commita6d924bf70d389583b8706e9774f056dd6af9fc3 (patch)
tree338f4d916f5460d00e5465b3d5b296d40d94150a /locales/readme.txt
parent6a88b90b036f3cfc21d45eb76d1ae3e767b8ac5c (diff)
Fixes bug #655: National characters support, patch written mostly by Phoenix, bits of core support by myself. This means that nicknames using *non ASCII* are now supported when configured, and more importantly, that /msg lowercasenick will go to a person with UPPERCASENICK in foreign character sets. The locale setting MUST be the same network-wide.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'locales/readme.txt')
-rwxr-xr-xlocales/readme.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/locales/readme.txt b/locales/readme.txt
new file mode 100755
index 000000000..1304adbb5
--- /dev/null
+++ b/locales/readme.txt
@@ -0,0 +1,48 @@
+Here you can find locales configuration files.
+
+(!) The idea and several locale files are derived from Bynets UnrealIRCd distribution (See http://www.bynets.org/)
+
+*** File structure ***
+
+Each file consists of 5-7 lines:
+1: List of additional allowed characters
+
+2: List of additional allowed multibyte characters ranges. In form: Sa_1 Ea_1 Sa_2 Ea_2 Sb_1 Eb_1 Sb_2 Eb_2... Total numbers count should be dividend of 4
+ Sx_1 Start of highest byte
+ Ex_1 End of highest byte
+ Sx_2 Start of lowest byte
+ Ex_2 End of lowest byte
+
+3: List of additional characters that should be treated as upper-case
+
+4: 255 characters table - to-lower case conversion table.
+Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
+
+5: 255 characters table - to-upper case conversion table.
+Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
+
+6: List of additional UTF-8 allowed characters
+
+7: List of additional UTF-8 ranges (character followed by "range"). Strongly experimental. May be replaced in future versions.
+
+*** Line format ***
+
+Each line can be list of characters or decimal/hexadecimal/octal codes divided by spaces or commas in form like:
+0 1 2 / 00 01 02 / 0x01 0x02 0x03...
+or
+'a', 'b', 'c'
+or combined:
+x01, 002 'a', 'b', 'c',
+
+It is also possible to write plain-text line of characters. In this case it should begin with a . (dot) character. For example:
+.abcdefABCDEF23432*&^*
+In this case every character of line except first dot specifies one character-code for table
+
+*** Notice ***
+
+"bynets" directory contains tables from Bynets' UnrealIRCd distribution. You might find them useful.
+
+*** TODO ***
+
+- Maybe replace line 7 with <interval start> <interval end> form?
+- UTF-8 collation rules (Inapplieable to InspIRCd atm).