View Issue Details

IDProjectCategoryView StatusLast Update
0003400unrealircdpublic2015-07-10 13:09
ReporterBock Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version3.3-alpha0 
Summary0003400: Separate files for different charsets.
DescriptionAdded dir locales for files different charsets.
No need rebuild ircd for added new charset.
Additional InformationFrom readme.txt:
--------------------
Here you can find locales configuration files.

Each file consists of five lines:
1: List of additional allowed charachters

2: List of additional allowed multibyte charachters 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 charachters that should be treated as upper-case

4: 255 charachters table - to-lower case conversion table. Can be usefull for example for comparing nicknames that contains similar-looking charachters with different codes.

5: 255 charachters table - to-upper case conversion table. Can be usefull for example for comparing nicknames that contains similar-looking charachters with different codes.

Each line can be list of charachters or decimal/hexadecimal codes divided by spaces or commas in form like:
x01 x02 x03...
or
'a', 'b', 'c'
or combined:
x01, \x02 'a', 'b', \10, 'c',

It is also possible to write plain-text line of charachters. In this case it should begin by . (dot) charachter. For example:
.abcdefABCDEF23432*&^*
In this case every charachter of line except first dot specifies one charachter-code for table
----------------------
If some network want to resolve troubles with different nicknames on other languages (see some bugs from russian people), they can add more lines into locale file (see russian-w1251, belarusian-w1251), but if not wan't - just add they characters into file (like all other files).

On picture you can see what nicks I try to get: http://img113.imageshack.us/img113/3342/nicknamesif5.png

This also close to http://bugs.unrealircd.org/view.php?id=2882
 http://bugs.unrealircd.org/file_download.php?file_id=329&type=bug - this GUI program for edit locale files under win32.

All code originally writed by Killer{R}.
Attached Files
unreal.locales.patch (35,602 bytes)
3rd party modules

Activities

Bock

2007-06-22 13:27

reporter   ~0014410

In patch I forgot copy locales dir on "make install".

syzop

2015-07-10 13:08

administrator   ~0018472

I don't think this will ever be done anymore.

Also probably not needed anymore with UTF and shit :D

Issue History

Date Modified Username Field Change
2007-06-22 13:22 Bock New Issue
2007-06-22 13:23 Bock File Added: unreal.locales.patch
2007-06-22 13:27 Bock Note Added: 0014410
2007-06-23 08:56 stskeeps Status new => acknowledged
2015-07-10 13:08 syzop Note Added: 0018472
2015-07-10 13:08 syzop Status acknowledged => closed
2015-07-10 13:09 syzop Assigned To => syzop
2015-07-10 13:09 syzop Resolution open => no change required