Questions tagged [character-encoding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
2answers
2k views

VisualForce MultiLine UTF-8 CSV

Goal is to generate a CSV file from VF that contains UTF-8 chars and multiline text fields. All users are Mac users. Controller public class MultiLineUtf8CsvMac { public String utf8Bom {get {...
1
vote
2answers
986 views

Retrieving VersionData with standard REST API

I am trying to retrieve VersionData with a standard REST API call from a VisualForce Page a then upload it to a S3 bucket but end up with corrupted files. I believe this is an encoding problem on the ...
3
votes
1answer
846 views

Strings concatenation and one character size

Short prestory. Typical problem: you have a lot of small string and you want to concatenate them all in one big string. The code like for(Integer i = 0; i < smallStringsSize; i++){ bigString += ...
2
votes
1answer
943 views

Unable to read ANSI file in apex code?

I need to upload a file with ANSI character encoding from a VisualForce page and should be able to read the file and perform actions from Apex class(controller). Now when I upload an ANSI file, a ...
4
votes
1answer
2k views

Reading a pdf file in apex controller

I am trying to read a pdf file that is stored in Static resources.The body of the pdf comes in a Blob format, but I am not able to get the blob back to the readable format.How do I accomplish it.
6
votes
1answer
1k views

Subject line Chinese Character issue in Salesforce

Thanks in advance, I am sending an email from IBM Notes to Salesforce queue(Ex:test@test.com) with Subject line Chinese Character and the body content also Chinese character only. But after creating ...