ARGetServerCharSet


Warning

Important

You can continue to use C APIs to customize your application, but C APIs are not enhanced to support new capabilities provided by Java APIs and REST APIs.

Description

Retrieves a string that represents the name of the character set the API library uses to communicate with the server. If this differs from the client charset, the API converts the data to the right character set.


Related topic

Privileges

All users.

Synopsis

#include "ar.h"
#include "arerrno.h"
#include "arextern.h"

int ARGetServerCharSet(
  ARControlStruct*control,
  char*charSet,
  ARStatusList*status)

Input arguments

control

The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.

Return values

charSet

A string that names the character set the API library uses to communicate with the server. charSet is a buffer whose size is at least AR_MAX_LANG_SIZE+1.

status

A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error-checking.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Innovation Suite 23.3