Mount Fuji Engine  0.8b
int MFString_EncodeUTF8 ( int  c,
char *  pMBChar 
)

Encodes the give unicode character to it's respective UTF-8 sequence.

Parameters
cUnicode character to encode.
pMBCharPointer to an output buffer to receive the encoded bytes.
Returns
The number of bytes used by the UTF-8 encoding.
See Also
MFString_DecodeUTF8()