Handle special characters in config