Skip to main content

International Components for Unicode

How To Use Patch Files


ICU may distribute small change files called 'patch' files. Patch is a standard format which describes the difference between two files.

Getting Patch

Using Patch

  1. Download the patch file as a text file
  2. Place the patch file in the 'icu' directory (at the same level as 'source')
  3. Run the command: patch -p0 < patchfile.txt
  4. If you are using a GNU patch, there is an option '--dry-run' which can be used to test whether a patch will work or not, without actually applying it.