<?php

// $Id: convert.php 19 2005-09-04 23:18:58Z stefan $

/*

 Website Baker Project <http://www.websitebaker.org/>
 Copyright (C) 2004-2005, Ryan Djurovich

 Website Baker is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 Website Baker 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 General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with Website Baker; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/

/*
Character Conversion file
This file helps convert possible error-causing
characters to equivalent non-error-causing ones
*/
if(!defined('WB_URL')) {
	header('Location: ../index.php');
}

$conversion_array = array(
'Ã€'=>'A','Ã?'=>'A','Ã‚'=>'A','Ãƒ'=>'A','Ã„'=>'Ae', '&Auml;'=>'A',
'Ã…'=>'A','Ä€'=>'A','Ä„'=>'A','Ä‚'=>'A', 'Ã†'=>'Ae',
'Ã‡'=>'C','Ä†'=>'C','ÄŒ'=>'C','Äˆ'=>'C','ÄŠ'=>'C',
'ÄŽ'=>'D','Ä?'=>'D','Ã?'=>'D',
'Ãˆ'=>'E','Ã‰'=>'E','ÃŠ'=>'E','Ã‹'=>'E','Ä’'=>'E',
'Ä˜'=>'E','Äš'=>'E','Ä”'=>'E','Ä–'=>'E',
'Äœ'=>'G','Äž'=>'G','Ä '=>'G','Ä¢'=>'G',
'Ä¤'=>'H','Ä¦'=>'H',
'ÃŒ'=>'I','Ã?'=>'I','ÃŽ'=>'I','Ã?'=>'I','Äª'=>'I', 'Ä¨'=>'I','Ä¬'=>'I','Ä®'=>'I','Ä°'=>'I',
'Ä²'=>'IJ','Ä´'=>'J','Ä¶'=>'K',
'Å?'=>'K','Ä½'=>'K','Ä¹'=>'K','Ä»'=>'K','Ä¿'=>'K',
'Ã‘'=>'N','Åƒ'=>'N','Å‡'=>'N','Å…'=>'N','ÅŠ'=>'N',
'Ã’'=>'O','Ã“'=>'O','Ã”'=>'O','Ã•'=>'O','Ã–'=>'Oe',
'&Ouml;'=>'Oe', 'Ã˜'=>'O','ÅŒ'=>'O','Å?'=>'O','ÅŽ'=>'O',
'Å’'=>'OE', 'Å”'=>'R','Å˜'=>'R','Å–'=>'R',
'Åš'=>'S','Å '=>'S','Åž'=>'S','Åœ'=>'S','È˜'=>'S',
'Å¤'=>'T','Å¢'=>'T','Å¦'=>'T','Èš'=>'T',
'Ã™'=>'U','Ãš'=>'U','Ã›'=>'U','Ãœ'=>'Ue','Åª'=>'U',
'&Uuml;'=>'Ue', 'Å®'=>'U','Å°'=>'U','Å¬'=>'U','Å¨'=>'U','Å²'=>'U',
'Å´'=>'W', 'Ã?'=>'Y','Å¶'=>'Y','Å¸'=>'Y', 'Å¹'=>'Z','Å½'=>'Z','Å»'=>'Z',
'Ãž'=>'T','Ãž'=>'T', 'Ã '=>'a','Ã¡'=>'a','Ã¢'=>'a','Ã£'=>'a','Ã¤'=>'ae',
'&auml;'=>'ae', 'Ã¥'=>'a','Ä?'=>'a','Ä…'=>'a','Äƒ'=>'a',
'Ã¦'=>'ae', 'Ã§'=>'c','Ä‡'=>'c','Ä?'=>'c','Ä‰'=>'c','Ä‹'=>'c',
'Ä?'=>'d','Ä‘'=>'d','Ã°'=>'d', 'Ã¨'=>'e','Ã©'=>'e','Ãª'=>'e','Ã«'=>'e','Ä“'=>'e',
'Ä™'=>'e','Ä›'=>'e','Ä•'=>'e','Ä—'=>'e', 'Æ’'=>'f',
'Ä?'=>'g','ÄŸ'=>'g','Ä¡'=>'g','Ä£'=>'g', 'Ä¥'=>'h','Ä§'=>'h',
'Ã¬'=>'i','Ã­'=>'i','Ã®'=>'i','Ã¯'=>'i','Ä«'=>'i', 'Ä©'=>'i','Ä­'=>'i','Ä¯'=>'i','Ä±'=>'i',
'Ä³'=>'ij', 'Äµ'=>'j', 'Ä·'=>'k','Ä¸'=>'k', 'Å‚'=>'l','Ä¾'=>'l','Äº'=>'l','Ä¼'=>'l','Å€'=>'l',
'Ã±'=>'n','Å„'=>'n','Åˆ'=>'n','Å†'=>'n','Å‰'=>'n', 'Å‹'=>'n',
'Ã²'=>'o','Ã³'=>'o','Ã´'=>'o','Ãµ'=>'o','Ã¶'=>'oe', '&ouml;'=>'oe',
'Ã¸'=>'o','Å?'=>'o','Å‘'=>'o','Å?'=>'o', 'Å“'=>'oe', 'Å•'=>'r','Å™'=>'r','Å—'=>'r',
'Å¡'=>'s', 'Ã¹'=>'u','Ãº'=>'u','Ã»'=>'u','Ã¼'=>'ue','Å«'=>'u', '&uuml;'=>'ue',
'Å¯'=>'u','Å±'=>'u','Å­'=>'u','Å©'=>'u','Å³'=>'u', 'Åµ'=>'w',
'Ã½'=>'y','Ã¿'=>'y','Å·'=>'y', 'Å¾'=>'z','Å¼'=>'z','Åº'=>'z', 'Ã¾'=>'t', 'ÃŸ'=>'ss', 'Å¿'=>'ss'
);

?>