Visible to Intel only — GUID: GUID-EC0757BD-5319-4BC4-A587-5FD79A6DEDD6
Visible to Intel only — GUID: GUID-EC0757BD-5319-4BC4-A587-5FD79A6DEDD6
MBJISToJMS, MBJMSToJIS
NLS Functions: Converts Japan Industry Standard (JIS) characters to Microsoft Kanji (JMS) characters, or converts JMS characters to JIS characters. These routines are only available for Windows.
Module
USE IFNLS
result = MBJISToJMS (char)
result = MBJMSToJIS (char)
char |
(Input) CHARACTER(2). Is a JIS or JMS character to be converted. A JIS character is converted only if the lead and trail bytes are in the hexadecimal range 21 through 7E. A JMS character is converted only if the lead byte is in the hexadecimal range 81 through 9F or E0 through FC, and the trail byte is in the hexadecimal range 40 through 7E or 80 through FC. |
Results
The result type is character with length 2. MBJISToJMS returns a Microsoft Kanji (Shift JIS or JMS) character. MBJMSToJIS returns a Japan Industry Standard (JIS) character.
Only computers with Japanese installed as one of the available languages can use the MBJISToJMS and MBJMSToJIS conversion functions.