1mail::setAppCharset(3x)     Miscellaneous functions    mail::setAppCharset(3x)
2
3
4

NAME

6       mail::setAppCharset - Set application character set
7

SYNOPSIS

9       #include <libmail/misc.H>
10       #include <langinfo.h>
11
12       const char *myCharset=nl_langinfo(CODESET);
13
14
15
16       mail::setAppCharset (const char *myCharset);
17

USAGE

19       This  function  should  be  used to specify the application's character
20       set.  LibMAIL automatically translates names  of  folders  between  the
21       application's character set, and the mail server's character set.
22
23              Note:  LibMAIL supports a limited number of character sets.  The
24              full LibMAIL configuration supports the ISO-8859  character  set
25              family,  most  windows  character  sets,  and KOI8-R.  Some East
26              Asian character sets (Japanese, traditional and simplified  Chi‐
27              nese) are experimental, and have not been fully tested.
28

RETURN CODES

30       This  function  returns  true  if  the  character  set  was succesfully
31       installed; false if the character set is not supported.
32

SEE ALSO

34       mail::account::open(3x).
35
36
37
38                                 10 April 2006         mail::setAppCharset(3x)
Impressum