DOKK / manpages / debian 10 / m17n-docs / mchar_encode.3m17n.en
mchar_encode(3m17n) The m17n Library mchar_encode(3m17n)

mchar_encode - Encode a character code.

unsigned mchar_encode (MSymbol charset_name, int c)

Encode a character code. The mchar_encode() function encodes character code c to get a code-point in the charset represented by the symbol charset_name.

If encoding was successful, mchar_encode() returns the encoded code-point. Otherwise it returns MCHAR_INVALID_CODE.

mchar_decode()

Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.

12 Jan 2011 Version 1.6.2