FavoritAnkit Patel fragte in #Apex2. Apr. 2019, 11:35UTF-8 encoded ErrorAttachment att=[Select Body From Attachment where id='00P7F00000F8EQs'];string stringvalue = EncodingUtil.base64Encode(att.body);blob blobvalue =EncodingUtil.base64Decode(stringvalue);System.debug('Attachment body : '+blobvalue); 1 AntwortSortierenNach Datum sortierenNach "Am hilfreichsten" sortierenNach Datum sortierenRajamohan Vakati (Amazon)2. Apr. 2019, 14:23Can u try like this Blob csvBlob = csv.Body;String csvString = csvBlob.toString();String csvBody = EncodingUtil.base64Encode(csvBlob);Kommentar hinzufügenAntwort schreiben...FettKursivUnterstreichenDurchstreichenListe mit GliederungspunktenNummerierte ListeLink hinzufügenCodeblockBild einfügenDateien anhängenLink-URLAbbrechenSpeichern0/9000Antworten
Rajamohan Vakati (Amazon)2. Apr. 2019, 14:23Can u try like this Blob csvBlob = csv.Body;String csvString = csvBlob.toString();String csvBody = EncodingUtil.base64Encode(csvBlob);