On 31 Jul 2009, at 01:18, Charles Srstka wrote:

ICU is an open-source project, so if you're concerned about the Apple-supplied one disappearing, you can just go download the latest sources, compile it yourself, and then either link it statically or include the dylib inside your bundle.

http://site.icu-project.org/

This is all true, but it is worth pointing out that ICU includes a data file that contains (amongst other things) time zone data, Unicode data, localisation information and other stuff.

The issue there is that *occasionally* the data file needs updating. For instance when some politician decides that now would be a good time to change the time zone rules for the United States (as happened recently). Or when the Unicode specification is revised or bugs are found in the CLDR data. If you have multiple copies of ICU, each one will need updating separately... and because the ICU data file is version specific to some extent, you can't necessarily share the data.

You can avoid this, for the most part, by using Core Foundation or Cocoa where possible, since that will use the system's copy of the data which will at least result in consistent behaviour. But if you use ICU directly, or rely on something that does, and you choose to bundle ICU with your application, you should be aware of this issue.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to