|
From: Rajeev J S. <raj...@di...> - 2005-05-27 11:40:23
|
Hi,
I have a question regarding collator implementation for ml_IN locale in ICU
2.6
I need to reassign the positions of u200d and u200c as shown below:
CollationElements {
Version { "1.0" }
Sequence { "[normalization on]&[top]"
"<\u200d<\u200c"
....
However, this always results in the following error while building:
ICU_DATA=../data/out/build
LD_LIBRARY_PATH=../common:../i18n:../tools/toolutil:../layout:../layoutex:../extra/ustdio:../tools/ctestfw:../data/out:../data:../stubdata/:
$LD_LIBRARY_PATH ../tools/genrb/genrb -k -q -p icudt26l -s ../data/locales
-d ../data/out/build ml_IN.txt
../data/locales/ml_IN.txt:108: parse error. Stopped parsing with
U_INVALID_FORMAT_ERROR
couldn't parse the file ml_IN.txt. Error:U_INVALID_FORMAT_ERROR
make[1]: *** [../data/out/build/icudt26l_ml_IN.res] Error 3
make[1]: Leaving directory `/home/kane/font_maker/icu/icu/source/data'
make: *** [all-recursive] Error 2
Trying the rule in Locale Explorer works. Perhaps it is because 200c/200d are
already assigned as equal to [last tertiary ignorable] ? Is there any way to
reassign weights of these two codepoints in my locale ?
Also, how do I move sections around ? for e.g., I would like to include in the
ml_IN locale, the following order:
malayalam, tamil, latin, devanagari ....
So, how can I move say the Malayalam section to just before Tamil and so on ?
Or do I have to copy the collation rules from the appropriate files into my
ml_IN locale ?
Rajeev J Sebastian
|