Guardian Programmer's Guide

Table Of Contents
Formatting and Manipulating Character Data
Guardian Programmer’s Guide 421922-014
19 - 50
Programming With Multibyte Character Sets
In addition to the character sets listed above, HP also provides external support for the
following character sets:
IBM Kanji
IBM Kanji Mixed
JEF (Fujitsu) Kanji
JEF (Fujitsu) Kanji Mixed
NEC Kanji
JIS Kanji
The operating system provides procedures that convert between each of the above
character sets and internal Tandem Kanji codes.
This subsection describes some of the operations that an application may need to
perform with multibyte character sets:
How to check whether multibyte support is available on your system
(MBCS_CODESETS_SUPPORTED_ procedure). Checking for Multibyte
Character-Set Support provides details.
How to find out which of the multibyte character sets is the current default set
(MBCS_DEFAULTCHARSET_ procedure). See Determining the Default Character
Set for details.
How to identify multibyte characters (MBCS_CHAR_ procedure). See Analyzing a
Multibyte Character String for details.
How to deal with fragments of multibyte characters that occur in the last byte of a
read or write operation (MBCS_TRIMFRAGMENT_ procedure). Dealing With
Fragments of Multibyte Characters provides details.
How to handle multibyte blank characters used as word delimiters
(MBCS_REPLACEBLANK_ procedure). See
Handling Multibyte Blank Characters.
How to find out the character size of a multibyte character set
(MBCS_CHARSIZE_ procedure). See
Determining the Character Size of a
Multibyte Character Set.
How to perform case-shift operations on multibyte characters (SHIFTSTRING and
MBCS_SHIFTSTRING_ procedures). See Case Shifting With Multibyte
Characters for details.