Annotation of embedaddon/php/ext/mbstring/libmbfl/filters/unicode_table_cp1252.h, revision 1.1.1.1

1.1       misho       1: /*
                      2:  * "streamable kanji code filter and converter"
                      3:  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
                      4:  *
                      5:  * LICENSE NOTICES
                      6:  *
                      7:  * This file is part of "streamable kanji code filter and converter",
                      8:  * which is distributed under the terms of GNU Lesser General Public 
                      9:  * License (version 2) as published by the Free Software Foundation.
                     10:  *
                     11:  * This software is distributed in the hope that it will be useful,
                     12:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                     13:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     14:  * GNU Lesser General Public License for more details.
                     15:  *
                     16:  * You should have received a copy of the GNU Lesser General Public
                     17:  * License along with "streamable kanji code filter and converter";
                     18:  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
                     19:  * Suite 330, Boston, MA  02111-1307  USA
                     20:  *
                     21:  * The authors of this file: PHP3 internationalization team
                     22:  * You can contact the primary author 金本 茂 <sgk@happysize.co.jp>.
                     23:  *
                     24:  */
                     25: 
                     26: #ifndef UNICODE_TABLE_CP1252_H
                     27: #define UNICODE_TABLE_CP1252_H
                     28: 
                     29: /* Windows CodePage 1252 - it's the same as iso-8859-1 but
                     30:  * defines extra symbols in the range 0x80-0x9f.
                     31:  * This table differs from the rest of the unicode tables below
                     32:  * as it only covers this range, while the rest cover 0xa0 onwards */
                     33: 
                     34: static const unsigned short cp1252_ucs_table[] = {
                     35:  0x20ac,0xfffe,0x201a,0x0192,0x201e,0x2026,0x2020,0x2021,
                     36:  0x02c6,0x2030,0x0160,0x2039,0x0152,0xfffe,0x017d,0xfffe,
                     37:  0xfffe,0x2018,0x2019,0x201c,0x201d,0x2022,0x2013,0x2014,
                     38:  0x02dc,0x2122,0x0161,0x203a,0x0153,0xfffe,0x017e,0x0178
                     39: };
                     40: #endif /* UNICODE_TABLE_CP1252_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>