Defines the expected content of a BLOB field model. The available options are Ansi, Unicode, and Binary (default).
The Content type defines how Magic xpa treats the data in the BLOB variable:
Ansi – Magic xpa considers the data in the BLOB to be ANSI, meaning that the data may be converted into Unicode (and back to ANSI) if needed.
When updating the BLOB with Unicode data, automatic conversion will be made.
Unicode – Magic xpa considers the BLOB as a Unicode variable.
When updating the BLOB with ANSI data, automatic conversion will be made.
Binary – Magic xpa treats the BLOB data as is, meaning no casting will be done to Binary content BLOBs. Therefore, updating the Binary BLOB with ANSI data will store ANSI data in the BLOB and when updating the Binary BLOB with Unicode data, Unicode data will be stored in the BLOB. Note that string functions, such as Len() and Trim(), treat a Binary BLOB as an ANSI BLOB; therefore, if a Binary BLOB has Unicode data, these functions will not work properly.
When you modify the Content property, the Stored As property is automatically modified.
|