Method AutomationObject():setDBCConversion() Foundation
Enables or disables automatic string conversion.
:setDBCConversion( <lEnabled> ) --> lOldSetting
:setDBCConversion() returns the old string conversion setting.
By default, string values in method parameters, return and property values are automatically converted from ANSI or OEM encoding (see SET CHARSET) to UTF-16 before being passed to or read from the COM/ActiveX component. This conversion is required for interoperability because COM components use UTF-16-encoded strings internally.
For applications using strings which are already UTF-16-encoded, this automatic conversion can be disabled via the method :setDBCConversion(). In this case, strings are passed to the COM/ActiveX component as-is and no conversion occurs. Likewise, strings returned from the COM/ActiveX component are passed as UTF-16-encoded strings to the application.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.