This code did a full run of turn 531, with all reports.
- replace all calls to strlcat with strlcpy
- change strlcpy to return number of bytes written, not input bytes
- fix some buffer sizes
- write UTF8 BOM into all output files that could use them.
- implemented unicode_utf8_strcasecmp function
- fixed some xml files
- code compiles and runs on the console
TODO:
* switch from xmlChar to char again
* eliminate remaining warnings
* report.[hc] are still disabled
OPTIONAL:
* handle latin1 input?