// Copyright: Matthias Steffens and the file's // original author(s). // // This code is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY. Please see the GNU General Public // License for more details. // // File: ./includes/transtab_latin1_ascii.inc.php // Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/includes/transtab_latin1_ascii.inc.php $ // Author(s): Matthias Steffens // // Created: 24-Aug-05, 20:11 // Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $ // $Author: msteffens $ // $Revision: 894 $ // This is a transliteration table for a best-effort conversion from ISO-8859-1 to ASCII. It contains a list of substitution strings for 'ISO-8859-1 West European' characters, // comparable to the fallback notations that people use commonly in email and on typewriters to represent unavailable characters. Adopted from 'transtab' by Markus Kuhn // (transtab.utf v1.8 2000-10-12 11:01:28+01 mgk25 Exp); see for more info about Unicode and transtab. $transtab_latin1_ascii = array( // APOSTROPHE "'" => "'", // // GRAVE ACCENT "`" => "'", // ; // NO-BREAK SPACE " " => " ", // // INVERTED EXCLAMATION MARK "¡" => "!", // // CENT SIGN "¢" => "c", // // POUND SIGN "£" => "GBP", // "" // YEN SIGN "¥" => "Y", // // BROKEN BAR "¦" => "|", // // SECTION SIGN "§" => "S", // // DIAERESIS "¨" => "\"", // // COPYRIGHT SIGN "©" => "(c)", // "c" // ""; // FEMININE ORDINAL INDICATOR "ª" => "a", // // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK "«" => "<<", // "" // NOT SIGN "¬" => "-", // // SOFT HYPHEN "­" => "-", // // REGISTERED SIGN "®" => "(R)", // "" // MACRON "¯" => "-", // // DEGREE SIGN "°" => " ", // // PLUS-MINUS SIGN "±" => "+/-", // "" // SUPERSCRIPT TWO "²" => "^2", // "2" // ""; // SUPERSCRIPT THREE "³" => "^3", // "3" // ""; // ACUTE ACCENT "´" => "'", // // MICRO SIGN "µ" => "u", // ; // PILCROW SIGN "¶" => "P", // // MIDDLE DOT "·" => ".", // // CEDILLA "¸" => ",", // // SUPERSCRIPT ONE "¹" => "^1", // "1" // ""; // MASCULINE ORDINAL INDICATOR "º" => "o", // // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK "»" => ">>", // "" // VULGAR FRACTION ONE QUARTER "¼" => " 1/4", // "" // VULGAR FRACTION ONE HALF "½" => " 1/2", // "" // VULGAR FRACTION THREE QUARTERS "¾" => " 3/4", // "" // INVERTED QUESTION MARK "¿" => "?", // // LATIN CAPITAL LETTER A WITH GRAVE "À" => "A", // // LATIN CAPITAL LETTER A WITH ACUTE "Á" => "A", // // LATIN CAPITAL LETTER A WITH CIRCUMFLEX "Â" => "A", // // LATIN CAPITAL LETTER A WITH TILDE "Ã" => "A", // // LATIN CAPITAL LETTER A WITH DIAERESIS "Ä" => "Ae", // "A" // ""; // LATIN CAPITAL LETTER A WITH RING ABOVE "Å" => "Aa", // "A" // ""; // LATIN CAPITAL LETTER AE "Æ" => "AE", // "A" // ""; // LATIN CAPITAL LETTER C WITH CEDILLA "Ç" => "C", // // LATIN CAPITAL LETTER E WITH GRAVE "È" => "E", // // LATIN CAPITAL LETTER E WITH ACUTE "É" => "E", // // LATIN CAPITAL LETTER E WITH CIRCUMFLEX "Ê" => "E", // // LATIN CAPITAL LETTER E WITH DIAERESIS "Ë" => "E", // // LATIN CAPITAL LETTER I WITH GRAVE "Ì" => "I", // // LATIN CAPITAL LETTER I WITH ACUTE "Í" => "I", // // LATIN CAPITAL LETTER I WITH CIRCUMFLEX "Î" => "I", // // LATIN CAPITAL LETTER I WITH DIAERESIS "Ï" => "I", // // LATIN CAPITAL LETTER ETH "Ð" => "D", // // LATIN CAPITAL LETTER N WITH TILDE "Ñ" => "N", // // LATIN CAPITAL LETTER O WITH GRAVE "Ò" => "O", // // LATIN CAPITAL LETTER O WITH ACUTE "Ó" => "O", // // LATIN CAPITAL LETTER O WITH CIRCUMFLEX "Ô" => "O", // // LATIN CAPITAL LETTER O WITH TILDE "Õ" => "O", // // LATIN CAPITAL LETTER O WITH DIAERESIS "Ö" => "Oe", // "O" // ""; // MULTIPLICATION SIGN "×" => "x", // // LATIN CAPITAL LETTER O WITH STROKE "Ø" => "O", // // LATIN CAPITAL LETTER U WITH GRAVE "Ù" => "U", // // LATIN CAPITAL LETTER U WITH ACUTE "Ú" => "U", // // LATIN CAPITAL LETTER U WITH CIRCUMFLEX "Û" => "U", // // LATIN CAPITAL LETTER U WITH DIAERESIS "Ü" => "Ue", // "U" // ""; // LATIN CAPITAL LETTER Y WITH ACUTE "Ý" => "Y", // // LATIN CAPITAL LETTER THORN "Þ" => "Th", // "" // LATIN SMALL LETTER SHARP S "ß" => "ss", // ""; // LATIN SMALL LETTER A WITH GRAVE "à" => "a", // // LATIN SMALL LETTER A WITH ACUTE "á" => "a", // // LATIN SMALL LETTER A WITH CIRCUMFLEX "â" => "a", // // LATIN SMALL LETTER A WITH TILDE "ã" => "a", // // LATIN SMALL LETTER A WITH DIAERESIS "ä" => "ae", // "a" // ""; // LATIN SMALL LETTER A WITH RING ABOVE "å" => "aa", // "a" // ""; // LATIN SMALL LETTER AE "æ" => "ae", // "a" // ""; // LATIN SMALL LETTER C WITH CEDILLA "ç" => "c", // // LATIN SMALL LETTER E WITH GRAVE "è" => "e", // // LATIN SMALL LETTER E WITH ACUTE "é" => "e", // // LATIN SMALL LETTER E WITH CIRCUMFLEX "ê" => "e", // // LATIN SMALL LETTER E WITH DIAERESIS "ë" => "e", // // LATIN SMALL LETTER I WITH GRAVE "ì" => "i", // // LATIN SMALL LETTER I WITH ACUTE "í" => "i", // // LATIN SMALL LETTER I WITH CIRCUMFLEX "î" => "i", // // LATIN SMALL LETTER I WITH DIAERESIS "ï" => "i", // // LATIN SMALL LETTER ETH "ð" => "d", // // LATIN SMALL LETTER N WITH TILDE "ñ" => "n", // // LATIN SMALL LETTER O WITH GRAVE "ò" => "o", // // LATIN SMALL LETTER O WITH ACUTE "ó" => "o", // // LATIN SMALL LETTER O WITH CIRCUMFLEX "ô" => "o", // // LATIN SMALL LETTER O WITH TILDE "õ" => "o", // // LATIN SMALL LETTER O WITH DIAERESIS "ö" => "oe", // "o" // ""; // DIVISION SIGN "÷" => ":", // // LATIN SMALL LETTER O WITH STROKE "ø" => "o", // // LATIN SMALL LETTER U WITH GRAVE "ù" => "u", // // LATIN SMALL LETTER U WITH ACUTE "ú" => "u", // // LATIN SMALL LETTER U WITH CIRCUMFLEX "û" => "u", // // LATIN SMALL LETTER U WITH DIAERESIS "ü" => "ue", // "u" // ""; // LATIN SMALL LETTER Y WITH ACUTE "ý" => "y", // // LATIN SMALL LETTER THORN "þ" => "th", // "" // LATIN SMALL LETTER Y WITH DIAERESIS "ÿ" => "y" // ); ?>