]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - locales/readme.txt
Fixes bug #655: National characters support, patch written mostly by Phoenix, bits...
[user/henk/code/inspircd.git] / locales / readme.txt
1 Here you can find locales configuration files.
2
3 (!) The idea and several locale files are derived from Bynets UnrealIRCd distribution (See http://www.bynets.org/)
4
5 *** File structure ***
6
7 Each file consists of 5-7 lines:
8 1: List of additional allowed characters
9
10 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
11    Sx_1 Start of highest byte
12    Ex_1 End of highest byte
13    Sx_2 Start of lowest byte
14    Ex_2 End of lowest byte
15
16 3: List of additional characters that should be treated as upper-case
17
18 4: 255 characters table - to-lower case conversion table. 
19 Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
20
21 5: 255 characters table - to-upper case conversion table. 
22 Can be usefull for example for comparing nicknames that contains similar-looking characters with different codes.
23
24 6: List of additional UTF-8 allowed characters
25
26 7: List of additional UTF-8 ranges (character followed by "range"). Strongly experimental. May be replaced in future versions.
27
28 *** Line format ***
29
30 Each line can be list of characters or decimal/hexadecimal/octal codes divided by spaces or commas in form like:
31 0 1 2 / 00 01 02 / 0x01 0x02 0x03...
32 or
33 'a', 'b', 'c'
34 or combined:
35 x01, 002 'a', 'b', 'c',
36
37 It is also possible to write plain-text line of characters. In this case it should begin with a . (dot) character. For example:
38 .abcdefABCDEF23432*&^*
39 In this case every character of line except first dot specifies one character-code for table
40
41 *** Notice ***
42
43 "bynets" directory contains tables from Bynets' UnrealIRCd distribution. You might find them useful.
44
45 *** TODO ***
46
47 - Maybe replace line 7 with <interval start> <interval end> form?
48 - UTF-8 collation rules (Inapplieable to InspIRCd atm).