diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-07-05 20:19:52 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-07-05 20:19:52 +0000 |
commit | a0d511734ae464d6e7b4d2f5e019611c0cdafea9 (patch) | |
tree | 3427f02b2f829492f6bf89d16c7af91726878e9c /utils/utils.h | |
parent | ab11d2c94d0ed5c4ed9ab4f32417e3c1c4cf8fb9 (diff) | |
download | netsurf-a0d511734ae464d6e7b4d2f5e019611c0cdafea9.tar.gz netsurf-a0d511734ae464d6e7b4d2f5e019611c0cdafea9.tar.bz2 |
[project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/utils.h b/utils/utils.h index e606baa6c..6b5e88a3a 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -3,12 +3,14 @@ * Licensed under the GNU General Public License, * http://www.opensource.org/licenses/gpl-license * Copyright 2004 James Bursa <bursa@users.sourceforge.net> + * Copyright 2004 John Tytgat <John.Tytgat@aaug.net> */ #ifndef _NETSURF_UTILS_UTILS_H_ #define _NETSURF_UTILS_UTILS_H_ #include <stdbool.h> +#include <stddef.h> #include <stdlib.h> #include <sys/types.h> #include <regex.h> @@ -23,9 +25,9 @@ void xfree(void* p); char * xstrdup(const char * const s); char * load(const char * const path); char * squash_whitespace(const char * s); -char * tolat1(xmlChar * s); -char * tolat1_pre(xmlChar * s); -char *squash_tolat1(xmlChar *s); +char *cnv_space2nbsp(const char *s); +char *cnv_str_local_enc(const char *s); +char *cnv_strn_local_enc(const char *s, int length, const ptrdiff_t **back_mapPP); bool is_dir(const char *path); void regcomp_wrapper(regex_t *preg, const char *regex, int cflags); void clean_cookiejar(void); |