/*
 * utf.h
 *
 * All rights reserved. Copyright (C) 1996-1999 by NARITA Tomio
 * $Id: utf.h,v 1.2 1999/05/13 16:55:44 nrt Exp $
 */

#ifndef __UTF_H__
#define __UTF_H__

#include <itable.h>
#include <ctable.h>

#define IsUtfEncoding( cset )	( UTF_7 == (cset) || UTF_8 == (cset) )

public void DecodeUTF( state_t *state, byte codingSystem );

public void EncodeUTF7( i_str_t *istr, int head, int tail,
		       byte codingSystem, boolean_t binary );

public void EncodeUTF8( i_str_t *istr, int head, int tail,
		       byte codingSystem, boolean_t binary );

#endif /* __UTF_H__ */
