File: newstr_conv.h

package info (click to toggle)
bibutils 4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,512 kB
  • ctags: 1,340
  • sloc: ansic: 72,394; csh: 216; makefile: 117
file content (28 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (4)
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