Back to index

php5  5.3.10
mbfl_consts.h
Go to the documentation of this file.
00001 /*
00002  * "streamable kanji code filter and converter"
00003  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
00004  *
00005  * LICENSE NOTICES
00006  *
00007  * This file is part of "streamable kanji code filter and converter",
00008  * which is distributed under the terms of GNU Lesser General Public 
00009  * License (version 2) as published by the Free Software Foundation.
00010  *
00011  * This software is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with "streamable kanji code filter and converter";
00018  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
00019  * Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  * The author of this file:
00022  *
00023  */
00024 /*
00025  * The source code included in this files was separated from mbfilter.h
00026  * by Moriyoshi Koizumi <moriyoshi@php.net> on 20 Dec 2002. The file
00027  * mbfilter.h is included in this package .
00028  *
00029  */
00030 
00031 #ifndef MBFL_CONSTS_H
00032 #define MBFL_CONSTS_H
00033 
00034 #define MBFL_ENCTYPE_SBCS          0x00000001
00035 #define MBFL_ENCTYPE_MBCS          0x00000002
00036 #define MBFL_ENCTYPE_WCS2BE        0x00000010
00037 #define MBFL_ENCTYPE_WCS2LE        0x00000020
00038 #define MBFL_ENCTYPE_MWC2BE        0x00000040
00039 #define MBFL_ENCTYPE_MWC2LE        0x00000080
00040 #define MBFL_ENCTYPE_WCS4BE        0x00000100
00041 #define MBFL_ENCTYPE_WCS4LE        0x00000200
00042 #define MBFL_ENCTYPE_MWC4BE        0x00000400
00043 #define MBFL_ENCTYPE_MWC4LE        0x00000800
00044 #define MBFL_ENCTYPE_SHFTCODE      0x00001000 
00045 #define MBFL_ENCTYPE_HTML_ENT       0x00002000
00046 
00047 /* wchar plane, special charactor */
00048 #define MBFL_WCSPLANE_MASK                0xffff
00049 #define MBFL_WCSPLANE_UCS2MAX             0x00010000
00050 #define MBFL_WCSPLANE_UTF32MAX            0x00110000
00051 #define MBFL_WCSPLANE_SUPMIN              0x00010000
00052 #define MBFL_WCSPLANE_SUPMAX              0x00200000
00053 #define MBFL_WCSPLANE_JIS0208             0x70e10000           /* JIS HEX : 2121h - 7E7Eh */
00054 #define MBFL_WCSPLANE_JIS0212             0x70e20000           /* JIS HEX : 2121h - 7E7Eh */
00055 #define MBFL_WCSPLANE_WINCP932            0x70e30000           /* JIS HEX : 2121h - 9898h */
00056 #define MBFL_WCSPLANE_8859_1              0x70e40000           /*  00h - FFh */
00057 #define MBFL_WCSPLANE_8859_2              0x70e50000           /*  00h - FFh */
00058 #define MBFL_WCSPLANE_8859_3              0x70e60000           /*  00h - FFh */
00059 #define MBFL_WCSPLANE_8859_4              0x70e70000           /*  00h - FFh */
00060 #define MBFL_WCSPLANE_8859_5              0x70e80000           /*  00h - FFh */
00061 #define MBFL_WCSPLANE_8859_6              0x70e90000           /*  00h - FFh */
00062 #define MBFL_WCSPLANE_8859_7              0x70ea0000           /*  00h - FFh */
00063 #define MBFL_WCSPLANE_8859_8              0x70eb0000           /*  00h - FFh */
00064 #define MBFL_WCSPLANE_8859_9              0x70ec0000           /*  00h - FFh */
00065 #define MBFL_WCSPLANE_8859_10             0x70ed0000           /*  00h - FFh */
00066 #define MBFL_WCSPLANE_8859_13             0x70ee0000           /*  00h - FFh */
00067 #define MBFL_WCSPLANE_8859_14             0x70ef0000           /*  00h - FFh */
00068 #define MBFL_WCSPLANE_8859_15             0x70f00000           /*  00h - FFh */
00069 #define MBFL_WCSPLANE_KSC5601             0x70f10000           /*  2121h - 7E7Eh */
00070 #define MBFL_WCSPLANE_GB2312              0x70f20000           /*  2121h - 7E7Eh */
00071 #define MBFL_WCSPLANE_WINCP936            0x70f30000           /*  2121h - 9898h */
00072 #define MBFL_WCSPLANE_BIG5         0x70f40000           /*  2121h - 9898h */
00073 #define MBFL_WCSPLANE_CNS11643            0x70f50000           /*  2121h - 9898h */
00074 #define MBFL_WCSPLANE_UHC          0x70f60000           /*  8141h - fefeh */
00075 #define MBFL_WCSPLANE_CP1251              0x70f70000    
00076 #define MBFL_WCSPLANE_CP866        0x70f80000    
00077 #define MBFL_WCSPLANE_KOI8R               0x70f90000    
00078 #define MBFL_WCSPLANE_8859_16             0x70fa0000           /*  00h - FFh */
00079 #define MBFL_WCSPLANE_ARMSCII8            0x70fb0000
00080 #define MBFL_WCSPLANE_KOI8U               0x70fc0000
00081 #define MBFL_WCSPLANE_CP1254               0x70fd0000              /*  00h - FFh */
00082 #define MBFL_WCSPLANE_CP850         0x70fe0000              /*  00h - FFh */
00083 #define MBFL_WCSGROUP_MASK                0xffffff
00084 #define MBFL_WCSGROUP_UCS4MAX             0x70000000
00085 #define MBFL_WCSGROUP_WCHARMAX            0x78000000
00086 #define MBFL_WCSGROUP_THROUGH             0x78000000           /* 000000h - FFFFFFh */
00087 
00088 #define MBFL_QPRINT_STS_MIME_HEADER 0x1000000
00089 #define MBFL_BASE64_STS_MIME_HEADER 0x1000000
00090 
00091 #endif /* MBFL_CONSTS_H */