From a0d511734ae464d6e7b4d2f5e019611c0cdafea9 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Mon, 5 Jul 2004 20:19:52 +0000 Subject: [project @ 2004-07-05 20:19:51 by joty] Using UTF-8 instead of Latin1 encoding. svn path=/import/netsurf/; revision=1049 --- utils/utils.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'utils/utils.h') 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 + * Copyright 2004 John Tytgat */ #ifndef _NETSURF_UTILS_UTILS_H_ #define _NETSURF_UTILS_UTILS_H_ #include +#include #include #include #include @@ -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); -- cgit v1.2.3