update db_check about vsencoding

and modify a corresponding test