File: utf8.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 (20 lines) | stat: -rw-r--r-- 338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * utf8.h
 *
 * Copyright (c) Chris Putnam 2004-2009
 *
 * Source code released under the GPL
 *
 */

#ifndef UTF8_H
#define UTF8_H

#include <stdio.h>

extern int utf8_encode( unsigned int value, unsigned char out[6] );
extern unsigned int utf8_decode( char *s, unsigned int *pi );
extern void utf8_writebom( FILE *outptr );


#endif