Re: Enable the optional use of ICU in Mozilla

Jean-Marc Desperrier <[email protected]> Fri, 01 Jul 2005 12:51:04 +0200
Newsgroups gmane.comp.mozilla.internationalization
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
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.

I read a litle https://bugzilla.mozilla.org/show_bug.cgi?id=7969 and I 
don't fully understand why you finally decided to give up the libinthai 
based solution and use ICU instead.

The state of things probably has changed between 2002 and now, but it's 
annoying to have to included the whole ICU to do thai word breaking and 
not being able to select only what's actually used.
So no way to find an alternate, smaller BreakIterator interface 
implementation ?

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.