# Synopsis

void saff_RegisterEncoder(long option, SAFF_ENCODER *func)

# Purpose

Set the current encoder function for converting strings.

# Description

The encoder function will take a string and perform language dependent operations upon it. The default encoder (saff_EncodeString) is loaded by saff_Initialize. Encoder functions are normally used to convert a Multi Byte Character Set (MBCS) string into a STEP Part 21 compliant string.

# Input

## option

Not Used

## func

The function to register as the current encoder function. This function stays in effect until replaced or until saff_Initialize is called.