Set encoding in production