Ideally the same system that pidgin uses Also, unit tests: - http://check.sourceforge.net/doc/check_html/index.html - http://www.jera.com/techinfo/jtns/jtn002.html (3 friggin' lines:interrobang:)