[PMD-962] Encoding/Decoding - Not able to publish a Domain from PME with multiple special characters in the name