encode zone