repo.or.cz
/
gwm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Replace FONT_FAMILY, FONT_WEIGHT, FONT_PIXEL_SIZE, etc. with FONT_NAME.
[gwm.git]
/
utf8.h
blob
39de7e4c87b736ea8be48c7d221c8e3d31e1843c
1
#ifndef UTF8_H
2
#define UTF8_H
3
4
enum
gwm_encoding
{
5
ENCODING_COMPOUND
,
/* X Consortium Compound Text (ISO 2022-like) */
6
ENCODING_LATIN_1
/* ISO 8859-1 */
7
};
8
9
extern
char
*
to_utf8
(
enum
gwm_encoding encoding
,
const char
*
in
,
size_t
len
);
10
11
#if DEBUG
12
extern
void
cleanup_utf8
(
void
);
13
#endif
14
15
#endif