Project

General

Profile

1
<?php
2

    
3
// $Id: charsets.php 292 2006-01-30 22:37:23Z stefan $
4

    
5
/*
6

    
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2005, Ryan Djurovich
9

    
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

    
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

    
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

    
24
*/
25

    
26
/*
27

    
28
Charset list file
29

    
30
This file is used to generate a list of charsets for the user to select
31

    
32
*/
33

    
34
if(!defined('WB_URL')) {
35
	header('Location: ../index.php');
36
	exit(0);
37
}
38

    
39
// Create array
40
$CHARSETS = array();
41
$CHARSETS['utf-8'] = 'Unicode (utf-8)';
42
$CHARSETS['iso-8859-1'] = 'Latin-1 Western European (iso-8859-1)';
43
$CHARSETS['iso-8859-2'] = 'Latin-2 Central European (iso-8859-2)';
44
$CHARSETS['iso-8859-3'] = 'Latin-3 Southern European (iso-8859-3)';
45
$CHARSETS['iso-8859-4'] = 'Latin-4 Baltic (iso-8859-4)';
46
$CHARSETS['iso-8859-5'] = 'Cyrillic (iso-8859-5)';
47
$CHARSETS['iso-8859-6'] = 'Arabic (iso-8859-6)';
48
$CHARSETS['iso-8859-7'] = 'Greek (iso-8859-7)';
49
$CHARSETS['iso-8859-8'] = 'Hebrew (iso-8859-8)';
50
$CHARSETS['iso-8859-9'] = 'Latin-5 Turkish (iso-8859-9)';
51
$CHARSETS['iso-8859-10'] = 'Latin-6 Nordic (iso-8859-10)';
52
$CHARSETS['iso-8859-11'] = 'Thai (iso-8859-11)';
53
$CHARSETS['gb2312'] = 'Chinese Simplified (gb2312)';
54
$CHARSETS['big5'] = 'Chinese Traditional (big5)';
55
$CHARSETS['iso-2022-jp'] = 'Japanese (iso-2022-jp)';
56
$CHARSETS['iso-2022-kr'] = 'Korean (iso-2022-kr)';
57

    
58
?>
(2-2/14)