EMS software uses the operating system’s iconv() call to automatically convert strings within messages. Conversion occurs only as needed:
Call this function when the system code pages differ from the EMS default code pages (see the table of
Default Code Pages). Throughout an enterprise, all sending and receiving programs must use the same code pages.
Both arguments are string names of code pages. To determine valid code page names for your operating system, see documentation from the operating system vendor.
Programs may call this function at most once. The call must precede the first call to any message function, and the arrival of the first message from the network.
To use a default code page, programs may supply NULL for either parameter. Using the default code pages in both parameter positions has the same effect as not calling this function at all.