Fix UTF8/Latin1 w/ DBO, misc fixes