#ifndef _KVI_TEXTENCODING_H_
#define _KVI_TEXTENCODING_H_
//=============================================================================
//
//   File : kvi_textencoding.h
//   Creation date : Wed 04 Dec 2002 03:33:21 by Szymon Stefanek
//
//   This file is part of the KVirc irc client distribution
//   Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)
//
//   This program is FREE software. You can redistribute it and/or
//   modify it under the terms of the GNU General Public License
//   as published by the Free Software Foundation; either version 2
//   of the License, or (at your opinion) any later version.
//
//   This program is distributed in the HOPE that it will be USEFUL,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//   See the GNU General Public License for more details.
//
//   You should have received a copy of the GNU General Public License
//   along with this program. If not, write to the Free Software Foundation,
//   Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
//=============================================================================

#define KVI_TEXT_ENCODING_UTF8 0

#define KVI_TEXT_ENCODING_LATIN1 1
#define KVI_TEXT_ENCODING_ISO88591 1

#define KVI_TEXT_ENCODING_LATIN2 2
#define KVI_TEXT_ENCODING_ISO88592 2

#define KVI_TEXT_ENCODING_ISO88595 3
#define KVI_TEXT_ENCODING_LATIN5 3

#define KVI_TEXT_ENCODING_ISO88597 4 
#define KVI_TEXT_ENCODING_LATIN7 4

#define KVI_TEXT_ENCODING_LATIN15 5
#define KVI_TEXT_ENCODING_ISO885915 5

#define KVI_TEXT_ENCODING_KOI8R 6

#define KVI_TEXT_ENCODING_CP1251 7
#define KVI_TEXT_ENCODING_WIN1251 7

#define KVI_TEXT_ENCODING_COUNT 8

#define KVI_TEXT_ENCODING_UNKNOWN 0xffff

#ifndef _KVI_TEXTENCODING_CPP_
	extern unsigned int kvi_textEncodingFromName(const char * encName);
	extern const char * kvi_textEncodingName(unsigned int uEncoding);
	extern const char * kvi_textEncodingNameAlias(unsigned int uEncoding);
	extern unsigned int kvi_textEncodingForLocale();
#endif


#endif // !_KVI_TEXTENCODING_H_
