Karl,

In relation to collation in the locale file, I have not seen very clearly the relationship between the names of the algorithms and the data that goes into the locale.

Our sequence is in file collator/data/km_charset.txt,

and the instance in registerservices/registerservices.cxx is:

IMPL_CREATEINSTANCE( Collator_km_charset )

should this be what goes into LC_COLLATION in the locale file:?

------------------------------------------
<LC_COLLATION>
<Collator unoid="charset" default="true"/>
<CollationOptions>
<TransliterationModules>IGNORE_CASE</TransliterationModules>
</CollationOptions>
</LC_COLLATION>
------------------------------
thanks,

Javier




Karl Hong wrote:

Hi Javier,

Sorry for late reply.

As Eike said in the issue, we need file in UTF-8 encoding.

You also need to add new algorithm in km_KH.xml.

Thanks,
Karl.

Javier SOLA wrote:

Karl,

I have created issue http://www.openoffice.org/issues/show_bug.cgi?id=45810 with collation data for Khmer (including modification of collator/makefile.mk and registerservices/registerservices.cxx).

What it does is to put in their place in the collation list some two-code-point vowels.

The km_charset.txt file contains:
------------------------------------------
#
# Collation rule for Khmer charset
#

&\u17C5<\u17BB\u17C6<\u17C6<\u17B6\u17C6
<\u17C7<\u17B6\u17C7<\u17B7\u17C7<\u17B8\u17C7<\u17B9\u17C7
<\u17BA\u17C7<\u17BB\u17C7<\u17BC\u17C7<\u17BD\u17C7<\u17BE\u17C7<\u17BF\u17C7


<\u17C0\u17C7<\u17C1\u17C7<\u17C2\u17C7<\u17C3\u17C7<\u17C4\u17C7<\u17C5\u17C7

---------------------------------------
Could you tell me if the format is correct?

Thanks,

Javier



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


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



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



Reply via email to