Converts Unicode to CP437_ose character code.

Syntax

char *CONV_UnicodeToCP437ose(
  unsigned short unicode
);

Parameters

unicode
[in] Unicode

Return value

If the conversion is successful, it returns a pointer to the buffer containing the character code of CP437_ose, otherwise NULL.

Remarks

Convert the Unicode specified by unicode to the character code of CP437_ose and store it in the first byte of the 2-byte buffer, set NUL in the second byte, and return a pointer to this buffer.
2-byte buffer:
+0 character code of CP437_ose
+1 NUL

If the character code of CP437_ose corresponding to the specified Unicode does not exist, NULL is returned.

Requirements

Header file:
CodeConversion.h
Library file:
libCodeConversion.a
libSTARTUPOPH5000.a


Last updated: 2021/07/20