I have taken two strings and added to Zippex class instance using add file and inserted the attachment into salesforce using getZipArchive(). When i load the attachment into apex and use toString() it throws an error saying it's not a valid UTF-8 String. What should be done to prevent this error.
I have taken two strings and added to Zippex class instance using add file and inserted the attachment into salesforce using getZipArchive(). When i load the attachment into apex and use toString() it throws an error saying it's not a valid UTF-8 String. What should be done to prevent this error.