Skip to main content

ApplyCodepage - script and chart function

ApplyCodepage() applies a different code page character set to the field or text stated in the expression. The codepage argument must be in number format.

Note: Although ApplyCodepage can be used in chart expressions, it is more commonly used as a script function in the data load editor. For example, as you load files that might have been saved in different character sets out of your control, you can apply the code page that represents the character set you require.


ApplyCodepage(text, codepage)

Return data type: string


Argument Description
text Field or text to which you want to apply a different code page, given by the argument codepage.
codepage Number representing the code page to be applied to the field or expression given by text.

See also:

Character set