unicode type added to a type check of message parameters

...besides StringType in database handler