How to update the ICU data
==========================

1. Checkout the current version of the ICU data files

   $ svn co http://source.icu-project.org/repos/icu/icu/trunk/source/data icu-data

2. Execute the build script

   $ php update-data.php /path/to/icu-data

.dat-package
------------

The individual *.res files can be combined into a single .dat-file.
Unfortunately, PHP's `ResourceBundle` class is currently not able to handle
.dat-files.

Once it is, the following steps have to be followed to build the .dat-file:

3. Package the resource bundles into a single file

   $ find . -name *.res | sed -e "s/\.\///g" > packagelist.txt
   $ pkgdata -p region -T build -d . packagelist.txt

4. Clean up

   $ rm -rf build packagelist.txt

5. You can now move region.dat to replace the version bundled with Symfony2.
