Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-15
MBCS_DEFAULTCHARSET_ Procedure
MBCS_DEFAULTCHARSET_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The MBCS_DEFAULTCHARSET_ procedure returns the default multibyte character
set (MBCS) identification.
HP systems support various MBCSs in different ways. HP Kanji (Shift-JIS), Chinese
Big 5, Chinese PC, Hangul, and KSC5601 data formats are supported as internal code
representations. IBM and Fujitsu Kanji formats are supported by translation from the
HP Kanji internal format.
The MBCS_DEFAULTCHARSET_ procedure returns the default MBCS internal format
in use on the system queried. The default value is hardcoded; that is, it can be
changed only by reconfiguring the system.
Syntax for C Programmers
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
Syntax for TAL Programmers
Parameters
result returned value
INT
returns the identifier of the default MBCS character set:
Note. Each system must have a MBCS_DEFAULTCHARSET_ specified.
#include <cextdecs(MBCS_DEFAULTCHARSET_)>
__int32_t MBCS_DEFAULTCHARSET_ ();
result := MBCS_DEFAULTCHARSET_ ;