NetSurf
ucstables.h
Go to the documentation of this file.
1/*
2 * Copyright 2005 John M Bell <jmb202@ecs.soton.ac.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/** \file
20 * UCS conversion tables (interface)
21 * This is only used if nothing claims Service_International,8
22 */
23
25
26nserror utf8_to_local_encoding(const char *string, size_t len, char **result);
27nserror utf8_from_local_encoding(const char *string, size_t len, char **result);
28
29const int *ucstable_from_alphabet(int alphabet);
STATIC char result[100]
Definition: arexx.c:77
nserror
Enumeration of error codes.
Definition: errors.h:29
User interface utf8 characterset conversion routines.
Definition: utf8.h:31
struct gui_utf8_table * riscos_utf8_table
Definition: ucstables.c:725
nserror utf8_to_local_encoding(const char *string, size_t len, char **result)
Convert a UTF-8 encoded string into the system local encoding.
Definition: utf8.c:89
nserror utf8_from_local_encoding(const char *string, size_t len, char **result)
Convert a string encoded in the system local encoding to UTF-8.
Definition: utf8.c:80
const int * ucstable_from_alphabet(int alphabet)
Retrieve UCS table (above), given alphabet number.
Definition: ucstables.c:328