Skip to content

Commit b8bf526

Browse files
authored
Merge pull request #1 from predictus/dev
add xml transliterate function
2 parents bfa94e7 + 91f2354 commit b8bf526

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/salesforce_bulk_api/job.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def add_batch(keys, batch)
8989
xml += create_sobject(keys, r)
9090
end
9191
xml += '</sObjects>'
92+
xml = I18n.transliterate(xml)
9293
@logger.info("Xml sent to salesforce: #{xml}") if @logger
9394
path = "job/#{@job_id}/batch/"
9495
headers = Hash["Content-Type" => "application/xml; charset=UTF-8"]

0 commit comments

Comments
 (0)