adding tmode=ansi and charset=utf8 to jdbc connection string