charset-ascii.c revision c7e60c7a4052db86fa90147a52d613d00f720c45
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "charset-utf8.h"
#ifndef HAVE_ICONV_H
#include <ctype.h>
struct _CharsetTranslation {
int dummy;
};
static CharsetTranslation ascii_translation;
int *unknown_charset)
{
if (unknown_charset != NULL)
*unknown_charset = FALSE;
/* no support for non-ascii charsets */
if (unknown_charset != NULL)
*unknown_charset = TRUE;
return NULL;
}
return &ascii_translation;
}
{
}
{
}
{
for (i = 0; i < max_size; i++)
*insize = 0;
return TRUE;
}
const char *
const unsigned char *buf,
{
if (unknown_charset != NULL)
*unknown_charset = TRUE;
return NULL;
}
#endif