pdalcol / Zippex

Native Apex Zip library for Salesforce.com
MIT License
146 stars 108 forks source link

Not a valid UTF-8 #31

Open vijaysaimahajan opened 1 year ago

vijaysaimahajan commented 1 year ago

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.