[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.15.142.42: ~ $
/*
 * "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 authors of this file: PHP3 Internationalization team
 *
 */

/* character property table */
#define MBFL_CHP_CTL		0x01
#define MBFL_CHP_DIGIT		0x02
#define MBFL_CHP_UALPHA		0x04
#define MBFL_CHP_LALPHA		0x08
#define MBFL_CHP_MMHQENC	0x10	/* must Q-encoding in MIME Header encoded-word */
#define MBFL_CHP_MSPECIAL	0x20	/* RFC822 Special characters */

/*
 * Unicode table
 */

static const unsigned char mbfl_charprop_table[] = {
/* NUL	0 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC,
/* SCH	1 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SIX	2 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* EIX	3 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* EOT	4 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* ENQ	5 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* ACK	6 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* BEL	7 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* BS	8 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* HI	9 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* LF	10 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* VI	11 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* FF	12 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* CR	13 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SO	14 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SI	15 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SLE	16 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* CSI	17 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* DC2	18 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* DC3	19 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* DC4	20 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* NAK	21 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SYN	22 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* EIB	23 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* CAN	24 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* EM	25 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SLB	26 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* ESC	27 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* FS	28 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* GS	29 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* RS	30 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* US	31 */	MBFL_CHP_CTL | MBFL_CHP_MMHQENC ,
/* SP	32 */	MBFL_CHP_MMHQENC ,
/* !	33 */	0 ,
/* "	34 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* #	35 */	MBFL_CHP_MMHQENC ,
/* $	36 */	MBFL_CHP_MMHQENC ,
/* %	37 */	MBFL_CHP_MMHQENC ,
/* &	38 */	MBFL_CHP_MMHQENC ,
/* '	39 */	MBFL_CHP_MMHQENC ,
/* (	40 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* )	41 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* *	42 */	0 ,
/* +	43 */	0 ,
/* ,	44 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* -	45 */	0 ,
/* .	46 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* /	47 */	0 ,
/* 0	48 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 1	49 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 2	50 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 3	51 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 4	52 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 5	53 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 6	54 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 7	55 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 8	56 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* 9	57 */	MBFL_CHP_DIGIT | MBFL_CHP_MMHQENC ,
/* :	58 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* ;	59 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* <	60 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* =	61 */	0 ,
/* >	62 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* ?	63 */	MBFL_CHP_MMHQENC ,
/* @	64 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* A	65 */	MBFL_CHP_UALPHA ,
/* B	66 */	MBFL_CHP_UALPHA ,
/* C	67 */	MBFL_CHP_UALPHA ,
/* D	68 */	MBFL_CHP_UALPHA ,
/* E	69 */	MBFL_CHP_UALPHA ,
/* F	70 */	MBFL_CHP_UALPHA ,
/* G	71 */	MBFL_CHP_UALPHA ,
/* H	72 */	MBFL_CHP_UALPHA ,
/* I	73 */	MBFL_CHP_UALPHA ,
/* J	74 */	MBFL_CHP_UALPHA ,
/* K	75 */	MBFL_CHP_UALPHA ,
/* L	76 */	MBFL_CHP_UALPHA ,
/* M	77 */	MBFL_CHP_UALPHA ,
/* N	78 */	MBFL_CHP_UALPHA ,
/* O	79 */	MBFL_CHP_UALPHA ,
/* P	80 */	MBFL_CHP_UALPHA ,
/* Q	81 */	MBFL_CHP_UALPHA ,
/* R	82 */	MBFL_CHP_UALPHA ,
/* S	83 */	MBFL_CHP_UALPHA ,
/* T	84 */	MBFL_CHP_UALPHA ,
/* U	85 */	MBFL_CHP_UALPHA ,
/* V	86 */	MBFL_CHP_UALPHA ,
/* W	87 */	MBFL_CHP_UALPHA ,
/* X	88 */	MBFL_CHP_UALPHA ,
/* Y	89 */	MBFL_CHP_UALPHA ,
/* Z	90 */	MBFL_CHP_UALPHA ,
/* [	91 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* \	92 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* ]	93 */	MBFL_CHP_MMHQENC | MBFL_CHP_MSPECIAL ,
/* ^	94 */	MBFL_CHP_MMHQENC ,
/* _	95 */	MBFL_CHP_MMHQENC ,
/* `	96 */	MBFL_CHP_MMHQENC ,
/* a	97 */	MBFL_CHP_LALPHA ,
/* b	98 */	MBFL_CHP_LALPHA ,
/* c	99 */	MBFL_CHP_LALPHA ,
/* d	100 */	MBFL_CHP_LALPHA ,
/* e	101 */	MBFL_CHP_LALPHA ,
/* f	102 */	MBFL_CHP_LALPHA ,
/* g	103 */	MBFL_CHP_LALPHA ,
/* h	104 */	MBFL_CHP_LALPHA ,
/* i	105 */	MBFL_CHP_LALPHA ,
/* j	106 */	MBFL_CHP_LALPHA ,
/* k	107 */	MBFL_CHP_LALPHA ,
/* l	108 */	MBFL_CHP_LALPHA ,
/* m	109 */	MBFL_CHP_LALPHA ,
/* n	110 */	MBFL_CHP_LALPHA ,
/* o	111 */	MBFL_CHP_LALPHA ,
/* p	112 */	MBFL_CHP_LALPHA ,
/* q	113 */	MBFL_CHP_LALPHA ,
/* r	114 */	MBFL_CHP_LALPHA ,
/* s	115 */	MBFL_CHP_LALPHA ,
/* t	116 */	MBFL_CHP_LALPHA ,
/* u	117 */	MBFL_CHP_LALPHA ,
/* v	118 */	MBFL_CHP_LALPHA ,
/* w	119 */	MBFL_CHP_LALPHA ,
/* x	120 */	MBFL_CHP_LALPHA ,
/* y	121 */	MBFL_CHP_LALPHA ,
/* z	122 */	MBFL_CHP_LALPHA ,
/* {	123 */	MBFL_CHP_MMHQENC ,
/* |	124 */	MBFL_CHP_MMHQENC ,
/* }	125 */	MBFL_CHP_MMHQENC ,
/* ~	126 */	MBFL_CHP_MMHQENC ,
/* DEL	127 */	MBFL_CHP_MMHQENC
};


Filemanager

Name Type Size Permission Actions
cp932_table.h File 3.96 KB 0644
emoji2uni.h File 41.06 KB 0644
html_entities.c File 6.73 KB 0644
html_entities.h File 1.29 KB 0644
mbfilter_7bit.c File 2.06 KB 0644
mbfilter_7bit.h File 1.46 KB 0644
mbfilter_armscii8.c File 3.55 KB 0644
mbfilter_armscii8.h File 1.47 KB 0644
mbfilter_ascii.c File 3 KB 0644
mbfilter_ascii.h File 1.54 KB 0644
mbfilter_base64.c File 5.95 KB 0644
mbfilter_base64.h File 1.6 KB 0644
mbfilter_big5.c File 9.1 KB 0644
mbfilter_big5.h File 1.72 KB 0644
mbfilter_byte2.c File 3.38 KB 0644
mbfilter_byte2.h File 1.78 KB 0644
mbfilter_byte4.c File 4.04 KB 0644
mbfilter_byte4.h File 1.76 KB 0644
mbfilter_cp1251.c File 3.5 KB 0644
mbfilter_cp1251.h File 1.52 KB 0644
mbfilter_cp1252.c File 3.57 KB 0644
mbfilter_cp1252.h File 1.52 KB 0644
mbfilter_cp1254.c File 3.8 KB 0644
mbfilter_cp1254.h File 1.52 KB 0644
mbfilter_cp5022x.c File 33.99 KB 0644
mbfilter_cp5022x.h File 2.74 KB 0644
mbfilter_cp51932.c File 9.7 KB 0644
mbfilter_cp51932.h File 1.5 KB 0644
mbfilter_cp850.c File 3.34 KB 0644
mbfilter_cp850.h File 1.4 KB 0644
mbfilter_cp866.c File 3.43 KB 0644
mbfilter_cp866.h File 1.49 KB 0644
mbfilter_cp932.c File 9.59 KB 0644
mbfilter_cp932.h File 1.48 KB 0644
mbfilter_cp936.c File 8.74 KB 0644
mbfilter_cp936.h File 1.49 KB 0644
mbfilter_euc_cn.c File 6.31 KB 0644
mbfilter_euc_cn.h File 1.49 KB 0644
mbfilter_euc_jp.c File 8.83 KB 0644
mbfilter_euc_jp.h File 1.49 KB 0644
mbfilter_euc_jp_2004.c File 2.2 KB 0644
mbfilter_euc_jp_2004.h File 1.52 KB 0644
mbfilter_euc_jp_win.c File 11.94 KB 0644
mbfilter_euc_jp_win.h File 1.52 KB 0644
mbfilter_euc_kr.c File 6.71 KB 0644
mbfilter_euc_kr.h File 1.49 KB 0644
mbfilter_euc_tw.c File 8.79 KB 0644
mbfilter_euc_tw.h File 1.52 KB 0644
mbfilter_gb18030.c File 13.37 KB 0644
mbfilter_gb18030.h File 1.5 KB 0644
mbfilter_htmlent.c File 7.91 KB 0644
mbfilter_htmlent.h File 1.83 KB 0644
mbfilter_hz.c File 6.85 KB 0644
mbfilter_hz.h File 1.52 KB 0644
mbfilter_iso2022_jp_ms.c File 14.11 KB 0644
mbfilter_iso2022_jp_ms.h File 1.59 KB 0644
mbfilter_iso2022_kr.c File 8.67 KB 0644
mbfilter_iso2022_kr.h File 1.57 KB 0644
mbfilter_iso2022jp_2004.c File 3.86 KB 0644
mbfilter_iso2022jp_2004.h File 1.61 KB 0644
mbfilter_iso2022jp_mobile.c File 11.49 KB 0644
mbfilter_iso2022jp_mobile.h File 1.57 KB 0644
mbfilter_iso8859_1.c File 2.53 KB 0644
mbfilter_iso8859_1.h File 1.5 KB 0644
mbfilter_iso8859_10.c File 3.15 KB 0644
mbfilter_iso8859_10.h File 1.51 KB 0644
mbfilter_iso8859_13.c File 3.14 KB 0644
mbfilter_iso8859_13.h File 1.51 KB 0644
mbfilter_iso8859_14.c File 3.15 KB 0644
mbfilter_iso8859_14.h File 838 B 0644
mbfilter_iso8859_15.c File 3.14 KB 0644
mbfilter_iso8859_15.h File 838 B 0644
mbfilter_iso8859_16.c File 3.14 KB 0644
mbfilter_iso8859_16.h File 704 B 0644
mbfilter_iso8859_2.c File 3.13 KB 0644
mbfilter_iso8859_2.h File 1.5 KB 0644
mbfilter_iso8859_3.c File 3.13 KB 0644
mbfilter_iso8859_3.h File 1.5 KB 0644
mbfilter_iso8859_4.c File 3.13 KB 0644
mbfilter_iso8859_4.h File 1.48 KB 0644
mbfilter_iso8859_5.c File 3.13 KB 0644
mbfilter_iso8859_5.h File 1.5 KB 0644
mbfilter_iso8859_6.c File 3.13 KB 0644
mbfilter_iso8859_6.h File 1.5 KB 0644
mbfilter_iso8859_7.c File 3.13 KB 0644
mbfilter_iso8859_7.h File 1.5 KB 0644
mbfilter_iso8859_8.c File 3.13 KB 0644
mbfilter_iso8859_8.h File 1.5 KB 0644
mbfilter_iso8859_9.c File 3.13 KB 0644
mbfilter_iso8859_9.h File 1.5 KB 0644
mbfilter_jis.c File 17.03 KB 0644
mbfilter_jis.h File 1.82 KB 0644
mbfilter_koi8r.c File 3.41 KB 0644
mbfilter_koi8r.h File 1.59 KB 0644
mbfilter_koi8u.c File 3.31 KB 0644
mbfilter_koi8u.h File 1.48 KB 0644
mbfilter_qprint.c File 6.66 KB 0644
mbfilter_qprint.h File 1.55 KB 0644
mbfilter_sjis.c File 7.71 KB 0644
mbfilter_sjis.h File 1.5 KB 0644
mbfilter_sjis_2004.c File 19.5 KB 0644
mbfilter_sjis_2004.h File 1.6 KB 0644
mbfilter_sjis_mac.c File 16.3 KB 0644
mbfilter_sjis_mac.h File 1.51 KB 0644
mbfilter_sjis_mobile.c File 24.87 KB 0644
mbfilter_sjis_mobile.h File 2.84 KB 0644
mbfilter_sjis_open.c File 9.66 KB 0644
mbfilter_sjis_open.h File 1.52 KB 0644
mbfilter_tl_jisx0201_jisx0208.c File 9.5 KB 0644
mbfilter_tl_jisx0201_jisx0208.h File 2.89 KB 0644
mbfilter_ucs2.c File 5.2 KB 0644
mbfilter_ucs2.h File 1.94 KB 0644
mbfilter_ucs4.c File 6.17 KB 0644
mbfilter_ucs4.h File 1.92 KB 0644
mbfilter_uhc.c File 6.87 KB 0644
mbfilter_uhc.h File 1.47 KB 0644
mbfilter_utf16.c File 7.67 KB 0644
mbfilter_utf16.h File 1.93 KB 0644
mbfilter_utf32.c File 6.76 KB 0644
mbfilter_utf32.h File 1.93 KB 0644
mbfilter_utf7.c File 12.45 KB 0644
mbfilter_utf7.h File 1.54 KB 0644
mbfilter_utf7imap.c File 10.79 KB 0644
mbfilter_utf7imap.h File 1.52 KB 0644
mbfilter_utf8.c File 8.38 KB 0644
mbfilter_utf8.h File 1.52 KB 0644
mbfilter_utf8_mobile.c File 10.13 KB 0644
mbfilter_utf8_mobile.h File 2.21 KB 0644
mbfilter_uuencode.c File 3.97 KB 0644
mbfilter_uuencode.h File 1.29 KB 0644
sjis_mac2uni.h File 10.99 KB 0644
translit_kana_jisx0201_jisx0208.h File 2.89 KB 0644
unicode_prop.h File 5.84 KB 0644
unicode_table_armscii8.h File 2.33 KB 0644
unicode_table_big5.h File 281.68 KB 0644
unicode_table_cns11643.h File 364.48 KB 0644
unicode_table_cp1251.h File 2.4 KB 0644
unicode_table_cp1252.h File 1.59 KB 0644
unicode_table_cp1254.h File 2.4 KB 0644
unicode_table_cp850.h File 2.38 KB 0644
unicode_table_cp866.h File 2.37 KB 0644
unicode_table_cp932_ext.h File 8.29 KB 0644
unicode_table_cp936.h File 354.25 KB 0644
unicode_table_gb18030.h File 11.47 KB 0644
unicode_table_iso8859_10.h File 958 B 0644
unicode_table_iso8859_13.h File 958 B 0644
unicode_table_iso8859_14.h File 958 B 0644
unicode_table_iso8859_15.h File 958 B 0644
unicode_table_iso8859_16.h File 956 B 0644
unicode_table_iso8859_2.h File 955 B 0644
unicode_table_iso8859_3.h File 955 B 0644
unicode_table_iso8859_4.h File 955 B 0644
unicode_table_iso8859_5.h File 955 B 0644
unicode_table_iso8859_6.h File 955 B 0644
unicode_table_iso8859_7.h File 955 B 0644
unicode_table_iso8859_8.h File 955 B 0644
unicode_table_iso8859_9.h File 955 B 0644
unicode_table_jis.h File 301.96 KB 0644
unicode_table_jis2004.h File 263.02 KB 0644
unicode_table_koi8r.h File 2.36 KB 0644
unicode_table_koi8u.h File 7.29 KB 0644
unicode_table_uhc.h File 393.6 KB 0644