hs-bibutils-4.16: bibutils/newstr_conv.h
/*
* newstring_conv.h
*
* Copyright (c) Chris Putnam 1999-2013
*
* Source code released under the GPL version 2
*
*/
#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 int newstr_convert( newstr *s,
int charsetin, int latexin, int utf8in, int xmlin,
int charsetout, int latexout, int utf8out, int xmlout );
#endif