support textfile logger charset
added table name check at query parser