added validation of io_encondig/lang options