2 * fribidi-char-sets-utf8.h - UTF-8 character set conversion routines
5 * Behdad Esfahbod, 2001, 2002, 2004
6 * Dov Grobgeld, 1999, 2000
8 * Copyright (C) 2004 Sharif FarsiWeb, Inc
9 * Copyright (C) 2001,2002 Behdad Esfahbod
10 * Copyright (C) 1999,2000 Dov Grobgeld
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this library, in a file named COPYING; if not, write to the
24 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA
27 * For licensing issues, contact <fribidi.license@gmail.com>.
30 #ifndef _FRIBIDI_CHAR_SETS_UTF8_H
31 #define _FRIBIDI_CHAR_SETS_UTF8_H
33 #include "fribidi-common.h"
35 #include "fribidi-types.h"
37 #include "fribidi-begindecls.h"
39 #define fribidi_char_set_name_utf8 "UTF-8"
40 #define fribidi_char_set_title_utf8 "UTF-8 (Unicode)"
41 #define fribidi_char_set_desc_utf8 NULL
43 FriBidiStrIndex fribidi_utf8_to_unicode (
45 FriBidiStrIndex length,
49 FriBidiStrIndex fribidi_unicode_to_utf8 (
50 const FriBidiChar *us,
51 FriBidiStrIndex length,
55 #include "fribidi-enddecls.h"
57 #endif /* !_FRIBIDI_CHAR_SETS_UTF8_H */
59 * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent