Perform string conversion on 8-bit processing codes.
#include <jcode.h>
char *jistosj( String1, String2)
char *String1, *String2;
char *jistouj(String1, String2) char *String1, *String2;
char *sjtojis(String1, String2) char *String1, *String2;
char *sjtouj(String1, String2) char *String1, *String2;
char *ujtojis(String1, String2) char *String1, *String2;
char *ujtosj(String1, String2) char *String1, *String2;
char *cjistosj(String1, String2) char *String1, *String2;
char *cjistouj(String1, String2) char *String1, *String2;
char *csjtojis(String1, String2) char *String1, *String2;
char *csjtouj(String1, String2) char *String1, *String2;
char *cujtojis(String1, String2) char *String1, *String2;
char *cujtosj(String1, String2) char *String1, *String2;
The jistosj, jistouj, sjtojis, sjtouj, ujtojis, and ujtosj subroutines perform string conversion on 8-bit processing codes. The String2 parameter is converted and the converted string is stored in the String1 parameter. The overflow of the String1 parameter is not checked. Also, the String2 parameter must be a valid string. Code validation is not permitted.
The jistosj subroutine converts JIS to SJIS. The jistouj subroutine converts JIS to UJIS. The sjtojis subroutine converts SJIS to JIS. The sjtouj subroutine converts SJIS to UJIS. The ujtojis subroutine converts UJIS to JIS. The ujtosj subroutine converts UJIS to SJIS.
The cjistosj, cjistouj, csjtojis, csjtouj, cujtojis, and cujtosj macros perform code conversion on 8-bit processing JIS Kanji characters. A character is removed from the String2 parameter, and its code is converted and stored in the String1 parameter. The String1 parameter is returned. The validity of the String2 parameter is not checked.
The cjistosj macro converts from JIS to SJIS. The cjistouj macro converts from JIS to UJIS. The csjtojis macro converts from SJIS to JIS. The csjtouj macro converts from SJIS to UJIS. The cujtojis macro converts from UJIS to JIS. The cujtosj macro converts from UJIS to SJIS.
String1 | Stores converted string or code. |
String2 | Stores string or code to be converted. |
These subroutines are part of Base Operating System (BOS) Runtime.
The Japanese conv (Japanese conv Subroutines) subroutines, Japanese ctype (Japanese ctype Subroutines) subroutines.
List of String Manipulation Services in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.