Rewrote ODBC's read-data-in-chunks to handle multibyte characters.