#include <string.h>
#include <stdlib.h>
#include <errno.h>
+#include <courier-unicode.h>
#include "rfc822hdr.h"
#include "rfc2047.h"
-#include "../unicode/unicode.h"
#if LIBIDN
#include <idna.h>
memcpy(buf, content, cnt);
buf[cnt]=0;
- ptr=libmail_u_convert_tobuf(buf, chset, s->chset, NULL);
+ ptr=unicode_convert_tobuf(buf, chset, s->chset, NULL);
free(buf);
if (ptr)
(*print_func)(p, strlen(p), ptr);
else
{
- char *q=libmail_u_convert_tobuf(utf8_ptr,
+ char *q=unicode_convert_tobuf(utf8_ptr,
"utf-8",
chset, NULL);
if (q)
if (strchr(RFC822_SPECIALS, nbuf.bufptr[i]))
break;
- cpbuf=libmail_u_convert_tobuf(nbuf.bufptr, "utf-8", charset,
+ cpbuf=unicode_convert_tobuf(nbuf.bufptr, "utf-8", charset,
NULL);
if (!cpbuf)