Unicode Field Types

The following Intrinsic Functions are particularly useful when developing with Unicode Field Types:

Intrinsic Function

Notes

AsNativeString

Use this function to convert Nchar or Nvarchar data to the current code page when Unicode Field Types are not supported. For example, when invoking a BIF that doesn't support Unicode. Characters not supported in the current code page are changed to ?.

AsUntaicodeString

Use this function to populate an Nchar or Nvarchar from the numeric value (code point) of the character. It converts a decimal whole number to an individual Unicode character – these can be concatenated to construct a Unicode string that may not be possible to represent in the current code page.

AsCodePoint

Use this function to deconstruct an Nchar into its individual characters as numeric values. This function is the opposite of AsUnicodeString. It takes an Nchar character and returns the numeric value (code point) of the character.