C code from 2001 implementing a very efficient Universal XML Unicode stream converter