Discussion:
NFC code
Elliotte Rusty Harold
2003-10-19 21:11:55 UTC
Permalink
Does anyone know of Java code to convert strings into NFC?

So far I've found two. IBM offers ICU4J with a
liberal license. However, it does a lot more than
just NFC, and the JAR file is 2.5MB, a little big
for my needs.

Annex 15 includes sample code
<http://www.unicode.org/reports/tr15/#Code_Sample>.
However, it's "Copyright © 1998-1999 Unicode,
Inc. All Rights Reserved." so I can't copy it
into my own project.

Is there anything else out there?
--
Elliotte Rusty Harold
***@metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA


------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Ram Viswanadha
2003-10-20 00:49:13 UTC
Permalink
Hi Elliotte,
ICU4J can be built with only Normalizer.
The instructions on building ICU4J with only normalizer are at:
http://oss.software.ibm.com/cvs/icu4j/~checkout~/icu4j/readme.html#HowToModu
larize

With only normalizer the jar file can be trimmed to 355KB. Hope that helps.

Best Regards,

Ram Viswanadha


----- Original Message -----
From: "Elliotte Rusty Harold" <***@metalab.unc.edu>
To: <***@unicode.org>
Sent: Sunday, October 19, 2003 2:11 PM
Subject: NFC code
Post by Elliotte Rusty Harold
Does anyone know of Java code to convert strings into NFC?
So far I've found two. IBM offers ICU4J with a
liberal license. However, it does a lot more than
just NFC, and the JAR file is 2.5MB, a little big
for my needs.
Annex 15 includes sample code
<http://www.unicode.org/reports/tr15/#Code_Sample>.
However, it's "Copyright © 1998-1999 Unicode,
Inc. All Rights Reserved." so I can't copy it
into my own project.
Is there anything else out there?
--
Elliotte Rusty Harold
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Elliotte Rusty Harold
2003-10-20 02:04:52 UTC
Permalink
Post by Ram Viswanadha
Hi Elliotte,
ICU4J can be built with only Normalizer.
http://oss.software.ibm.com/cvs/icu4j/~checkout~/icu4j/readme.html#HowToModu
larize
With only normalizer the jar file can be trimmed to 355KB. Hope that helps.
That helps a bunch. Thanks. I think that gets it small enough where
I'm willing to ship it with my library. It's still larger than I'd
like, but not cripplingly so. Ideally I'd want the minimal code to do
just NFC, without the other three normalizations. But I can use this
for now.
--
Elliotte Rusty Harold
***@metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA


------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->

To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com

This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Loading...