1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/*
* newstring_conv.h
*
* Copyright (c) Chris Putnam 1999-2009
*
* Source code released under the GPL
*
*/
#ifndef NEWSTR_CONV_H
#define NEWSTR_CONV_H
#include "newstr.h"
#define CHARSET_UNKNOWN (-1)
#define CHARSET_UNICODE (-2)
#define CHARSET_GB18030 (-3)
#define CHARSET_DEFAULT (66) /* Latin-1/ISO8859-1 */
extern int get_charset( char *name );
extern void list_charsets( FILE *fp );
extern void newstr_convert( newstr *s,
int charsetin, int latexin, int utf8in, int xmlin,
int charsetout, int latexout, int utf8out, int xmlout );
#endif
|