User role encoding

fix encoding in user, role setting tab