raise an error if trying to encode OTHER