1MAIL::SETAPPCHARSET(3x) Cone: COnsole Newsreader And E MAIL::SETAPPCHARSET(3x)
2
3
4
6 mail::setAppCharset - Set application character set
7
9 #include <libmail/misc.H>
10 #include <langinfo.h>
11
12 const char *myCharset=nl_langinfo(CODESET);
13
14 mail::setAppCharset(const char *myCharset);
15
17 This function should be used to specify the application´s character
18 set.
19
20
21
22 LibMAIL automatically translates names of folders between the
23 application´s character set, and the mail server´s character set.
24
25 Note
26 LibMAIL supports a limited number of character sets. The full
27
28
29
30 LibMAIL configuration supports the ISO-8859 character set family,
31 most windows character sets, and KOI8-R. Some East Asian character
32 sets (Japanese, traditional and simplified Chinese) are
33 experimental, and have not been fully tested.
34
36 This function returns true if the character set was succesfully
37 installed; false if the character set is not supported.
38
40 mail::account::open(3x).
41
42
43
44[FIXME: source] 05/08/2010 MAIL::SETAPPCHARSET(3x)