Salesforce

BlobAddBOM (Magic xpi 4.9)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

BlobAddBOM (Magic xpi 4.9)

Adds UTF-8 or Unicode BOM to the beginning of a BLOB's content.

Syntax:

BlobAddBOM(BLOB expression, Numeric type)

Parameter:

expression

type: 1 adds UTF-8 BOM and 2 adds UTF-16. Any other numeric value returns NULL

Returns:

BLOB data with BOM characters added.

Examples:

BlobAddBOM(C.UserBlob,1) adds a UTF-8 BOM to C.UserBlob.

See also:

How Do I Add a Unicode or a UTF-8 BOM to a BLOB File?

Since version:

4.0a

Reference
Attachment 
Attachment