unicode: support legend in common method