Hi Danilo,

On Fri, Dec 16, 2005 at 16:01:13 +0100, Danilo ??egan wrote:

> > And now we are asking Karl to implement something that exist only
> > virtualy (out of font, out of keyboard layout).
> 
> Not exactly. Unicode supports LJ, Lj, lj (note the three cases)
> digraphs (somewhere in the 0x1c? range if I remember correctly)

You do, U+01c4 to U+01cc, see Latin Extended-B
http://www.unicode.org/charts/PDF/U0180.pdf

> for
> Croatian (or Serbian Latin), and Unicode Collation Algorithm (Unicode
> Technical Report 10) supports "contractions" and "expansions" (in
> their terminology, "l" "j" contracts into a single collating element
> "lj").  OOo supports all this I think, as well as does ICU, GNU libc,
> and many other libraries and systems.

OOo uses ICU for collation; if these digraph characters and contractions
are used, for example <lj> and lj, with the Serbian(Latin) locale they
are sorted

    l, ..., lh, li, <lj>, lk, ll, ..., lz, lj, m

However, the IndexKey element of the sh_YU.xml locale data file needs to
be adapted anyway, the <LJ> digraph and others need to be added like in

    A-L <LJ> M-P R-V

This is for Writer's index creating functionality. Currently the <LJ>
digraph is indexed after Z. Contractions like LJ as alphabetical
delimiters aren't handled yet, which needs a new implementation.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to