How to Update Unicode Support
Here are the steps for updating the Unicode support in CMUCL. First, find the desired version of Unicode from Unicode.org.
- Update all the files in src/i18n. For example, for Unicode 6.3, you can find the files at http://www.unicode.org/Public/6.3.0/ucd. The files have the same names.
- Modify src/tools/build-unidata.lispandsrc/code/unidata.lispto have the desired values for the Unicode major, minor, and update versions.
- Increment the revision number in *unidata-version*.
- Follow the instructions at the top of src/tools/build-unidata.lisp:- Compile and load src/tools/build-unidata.lisp
- Run (build-unidata). Specify the directory (tosrc/i18n/if necessary.- If there are significant changes, build-unidatamay not work. You will have to updatebuild-unidata.lispto conform to the new information.
- Updates to build-unidatamay require corresponding changes towrite-unidata.
 
- If there are significant changes, 
- Run (write-unidata <path>)to write out the newunidata.binfile to<path>.
- Copy the new unidata.binfile tosrc/i18n/unidata.bin.
 
- Compile and load 
- Rebuild cmucl
- Using the new version of cmucl
- Run the tests using either
- The full lisp-unit test-suite
- Use lisp-unitand load justtests/unicode.lisp. Then run the unicode tests.
 
- There should be no failures in the tests. If there are, fix up errors and start again.
 
- Run the tests using either
This should give a new version of cmucl with support for the new version of Unicode.
            Last modified 12 years ago
            Last modified on 03/15/14 17:21:27
          
        
        
      