Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2014 22:33:01 +0400
From:      Dmitry Selyutin <ghostman.sd@gmail.com>
To:        soc-status@freebsd.org, Pedro Giffuni <pfg@freebsd.org>,  David Chisnall <theraven@freebsd.org>, Konrad Jankowski <versus@freebsd.org>
Subject:   Report #8: Unicode support
Message-ID:  <CAMqzjeuMuTru5L5_10ZTBOQFhdsgdsiqgCQNDzvOwKdxDyh8Zg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello everyone!

Here are the last news about the Unicode support project[0].
You can always check my repository[1].

During these days I've been testing and fixing a ton of bugs and memory
leaks using valgrind and gdb.
I've finished libcolldb and its libc internal clone. Each collation
database is now a part of reference-counted locale system.
If locale is either "C" or "POSIX" or has no collation rules, we use either
strcmp() or wcscmp() instead of strcoll() and wcscoll().
If LC_COLLATE file for the given locale not found or is not a collation
database, then try to use /usr/share/locale/UTF-8/LC_COLLATE file.
If the latter is not found or is not a collation database, we use original
algorithm to maintain backward compatibility.
In order to generate LC_COLLATE as collation database, one must use
share/examples/collation/colldb.py script.
usage: colldb.py share/colldb/root.src /usr/share/locale/UTF-8/LC_COLLATE.
The C version of this tool is on the way.

[0] https://wiki.freebsd.org/SummerOfCode2014/Unicode
[1] https://socsvn.freebsd.org/socsvn/soc2014/ghostmansd

-- 
With best regards,
Dmitry Selyutin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMqzjeuMuTru5L5_10ZTBOQFhdsgdsiqgCQNDzvOwKdxDyh8Zg>