root/ext/mbstring/libmbfl/mbfl/mbfl_consts.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


/*
 * "streamable kanji code filter and converter"
 * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
 *
 * LICENSE NOTICES
 *
 * This file is part of "streamable kanji code filter and converter",
 * which is distributed under the terms of GNU Lesser General Public 
 * License (version 2) as published by the Free Software Foundation.
 *
 * This software 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with "streamable kanji code filter and converter";
 * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA  02111-1307  USA
 *
 * The author of this file:
 *
 */
/*
 * The source code included in this files was separated from mbfilter.h
 * by Moriyoshi Koizumi <moriyoshi@php.net> on 20 Dec 2002. The file
 * mbfilter.h is included in this package .
 *
 */

#ifndef MBFL_CONSTS_H
#define MBFL_CONSTS_H

#define MBFL_ENCTYPE_SBCS               0x00000001
#define MBFL_ENCTYPE_MBCS               0x00000002
#define MBFL_ENCTYPE_WCS2BE             0x00000010
#define MBFL_ENCTYPE_WCS2LE             0x00000020
#define MBFL_ENCTYPE_MWC2BE             0x00000040
#define MBFL_ENCTYPE_MWC2LE             0x00000080
#define MBFL_ENCTYPE_WCS4BE             0x00000100
#define MBFL_ENCTYPE_WCS4LE             0x00000200
#define MBFL_ENCTYPE_MWC4BE             0x00000400
#define MBFL_ENCTYPE_MWC4LE             0x00000800
#define MBFL_ENCTYPE_SHFTCODE   0x00001000 
#define MBFL_ENCTYPE_ENC_STRM   0x00002000
#define MBFL_ENCTYPE_GL_UNSAFE  0x00004000

/* wchar plane, special character */
#define MBFL_WCSPLANE_MASK                      0xffff
#define MBFL_WCSPLANE_UCS2MAX           0x00010000
#define MBFL_WCSPLANE_UTF32MAX          0x00110000
#define MBFL_WCSPLANE_SUPMIN            0x00010000
#define MBFL_WCSPLANE_SUPMAX            0x00200000
#define MBFL_WCSPLANE_JIS0213           0x70e00000              /* JIS HEX : 2121h - 7E7Eh */
#define MBFL_WCSPLANE_JIS0208           0x70e10000              /* JIS HEX : 2121h - 7E7Eh */
#define MBFL_WCSPLANE_JIS0212           0x70e20000              /* JIS HEX : 2121h - 7E7Eh */
#define MBFL_WCSPLANE_WINCP932          0x70e30000              /* JIS HEX : 2121h - 9898h */
#define MBFL_WCSPLANE_8859_1            0x70e40000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_2            0x70e50000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_3            0x70e60000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_4            0x70e70000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_5            0x70e80000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_6            0x70e90000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_7            0x70ea0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_8            0x70eb0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_9            0x70ec0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_10           0x70ed0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_13           0x70ee0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_14           0x70ef0000              /*  00h - FFh */
#define MBFL_WCSPLANE_8859_15           0x70f00000              /*  00h - FFh */
#define MBFL_WCSPLANE_KSC5601           0x70f10000              /*  2121h - 7E7Eh */
#define MBFL_WCSPLANE_GB2312            0x70f20000              /*  2121h - 7E7Eh */
#define MBFL_WCSPLANE_WINCP936          0x70f30000              /*  2121h - 9898h */
#define MBFL_WCSPLANE_BIG5              0x70f40000              /*  2121h - 9898h */
#define MBFL_WCSPLANE_CNS11643          0x70f50000              /*  2121h - 9898h */
#define MBFL_WCSPLANE_UHC               0x70f60000              /*  8141h - fefeh */
#define MBFL_WCSPLANE_CP1251            0x70f70000      
#define MBFL_WCSPLANE_CP866             0x70f80000      
#define MBFL_WCSPLANE_KOI8R             0x70f90000      
#define MBFL_WCSPLANE_8859_16           0x70fa0000              /*  00h - FFh */
#define MBFL_WCSPLANE_ARMSCII8          0x70fb0000
#define MBFL_WCSPLANE_KOI8U             0x70fc0000
#define MBFL_WCSPLANE_CP1254            0x70fd0000              /*  00h - FFh */
#define MBFL_WCSPLANE_CP850             0x70fe0000              /*  00h - FFh */
#define MBFL_WCSPLANE_GB18030           0x70ff0000              /* a1a1h-e3329a35h  */
#define MBFL_WCSGROUP_MASK                0xffffff
#define MBFL_WCSGROUP_UCS4MAX           0x70000000
#define MBFL_WCSGROUP_WCHARMAX          0x78000000
#define MBFL_WCSGROUP_THROUGH           0x78000000              /* 000000h - FFFFFFh */

#define MBFL_QPRINT_STS_MIME_HEADER 0x1000000
#define MBFL_BASE64_STS_MIME_HEADER 0x1000000

#endif /* MBFL_CONSTS_H */

/* [<][>][^][v][top][bottom][index][help] */