Re: Enable the optional use of ICU in Mozilla

Javier SOLA <[email protected]> Sat, 02 Jul 2005 09:34:59 +0700
Newsgroups gmane.comp.mozilla.internationalization
Message-ID <[email protected]>
Jean-Marc Desperrier wrote:

> Samphan Raruenrom wrote:
>
>> Anybody want to use ICU in Mozilla?
>> I've make a patch that allow optional use of ICU.
>> https://bugzilla.mozilla.org/show_bug.cgi?id=299324
>
> Generally talking, it's not a great idea to try to use ICU in Mozilla 
> because it duplicates so much of what already exists.
>
>> [...]. Thai need ICU for line-breaking so I make this patch.
>
> Also, aren't there a way to make the implementation more reusable for 
> other languages ? Maybe we'll need one day to implement this kind of 
> word breaking for something else than thai, and if it's hard coded 
> everywhere that it's only for thai, it's a bit a pity.

Line breaking for the other scripts that do not use spaces to separate 
words (Lao, Khmer, Burmese and Tibetan) will be implemented in ICU, 
mostly following the Thai example (except fot Tibetan, which has 
different rules). We will try to reuse the code. Implementing ICU 
permits using the algorithm in OpenOffice and probably in Java.

Javier