[SPIP] +2.1.12
[velocampus/web/www.git] / www / ecrire / charsets / iso-8859-9.php
diff --git a/www/ecrire/charsets/iso-8859-9.php b/www/ecrire/charsets/iso-8859-9.php
new file mode 100644 (file)
index 0000000..f34f1e6
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+
+/***************************************************************************\
+ *  SPIP, Systeme de publication pour l'internet                           *
+ *                                                                         *
+ *  Copyright (c) 2001-2011                                                *
+ *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
+ *                                                                         *
+ *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
+ *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
+\***************************************************************************/
+
+if (!defined('_ECRIRE_INC_VERSION')) return;
+
+// iso latin 9 - Turc <alexis@nds.k12.tr>
+
+load_charset('iso-8859-1');
+
+$trans = $GLOBALS['CHARSET']['iso-8859-1'];
+$trans[240]=287; //gbreve
+$trans[208]=286; //Gbreve
+$trans[221]=304; //Idot
+$trans[253]=305; //inodot
+$trans[254]=351; //scedil
+$trans[222]=350; //Scedil
+
+$GLOBALS['CHARSET']['iso-8859-9'] = $trans;
+
+?>