[procedure] char->ucs char

[procedure] ucs->char integer

Gauche: converts a character and Unicode (UCS4) codepoint in integer. (NB: in Gauche, char->integer and integer->char deals with internal character encoding).

Bigloo has ucs2->integer and integer->ucs2, which work like these. Note that Bigloo has distinct type for UCS2 character, and ucs2 refers to that type rather than UCS2 codepoint.