2 * fribidi-char-sets-utf8.h - UTF-8 character set conversion routines
4 * $Id: fribidi-char-sets-utf8.h,v 1.2 2004-06-09 14:59:21 behdad Exp $
6 * $Date: 2004-06-09 14:59:21 $
8 * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/charset/fribidi-char-sets-utf8.h,v $
11 * Behdad Esfahbod, 2001, 2002, 2004
12 * Dov Grobgeld, 1999, 2000
14 * Copyright (C) 2004 Sharif FarsiWeb, Inc
15 * Copyright (C) 2001,2002 Behdad Esfahbod
16 * Copyright (C) 1999,2000 Dov Grobgeld
18 * This library is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU Lesser General Public
20 * License as published by the Free Software Foundation; either
21 * version 2.1 of the License, or (at your option) any later version.
23 * This library is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 * Lesser General Public License for more details.
28 * You should have received a copy of the GNU Lesser General Public License
29 * along with this library, in a file named COPYING; if not, write to the
30 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
31 * Boston, MA 02110-1301, USA
33 * For licensing issues, contact <license@farsiweb.info>.
36 #ifndef _FRIBIDI_CHAR_SETS_UTF8_H
37 #define _FRIBIDI_CHAR_SETS_UTF8_H
39 #include "fribidi-common.h"
41 #include "fribidi-types.h"
43 #include "fribidi-begindecls.h"
45 #define fribidi_char_set_name_utf8 "UTF-8"
46 #define fribidi_char_set_title_utf8 "UTF-8 (Unicode)"
47 #define fribidi_char_set_desc_utf8 NULL
49 #define fribidi_utf8_to_unicode FRIBIDI_NAMESPACE(utf8_to_unicode)
50 FriBidiStrIndex fribidi_utf8_to_unicode (
52 FriBidiStrIndex length,
56 #define fribidi_unicode_to_utf8 FRIBIDI_NAMESPACE(unicode_to_utf8)
57 FriBidiStrIndex fribidi_unicode_to_utf8 (
58 const FriBidiChar *us,
59 FriBidiStrIndex length,
63 #include "fribidi-enddecls.h"
65 #endif /* !_FRIBIDI_CHAR_SETS_UTF8_H */
67 * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent