[336] improved checking of language and encoding in the constructor of Entry, tested with mini-termserv now included in test scope of rm-domain

Revision: 336
Author: rong.chen

Log Message: