Fixed quotations in EncodeDistance encode