all attribute should be encoded in utf8