Fixes error with CVS+Postgresql and non-UTF8 commit logs (#917, #1659).
Authored by: jplang 2008-08-26
Parent: [r1767]
Child: [r1769]