Skip to main content Skip to complementary 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.

Information noteAlthough 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.

Syntax:  

ApplyCodepage(text, codepage)

Return data type: string

Arguments:  

Arguments
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.

Learn more

Character set

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!