[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / ecrire / charsets / iso-8859-9.php
index 617e419..69cadea 100644 (file)
@@ -3,27 +3,33 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2016                                                *
+ *  Copyright (c) 2001-2017                                                *
  *  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;
+/**
+ * Déclaration des correspondances entre charsets iso-8859-9 (Turc) et unicode
+ *
+ * @author <alexis@nds.k12.tr>
+ *
+ * @package SPIP\Core\Charsets
+ **/
 
-// iso latin 9 - Turc <alexis@nds.k12.tr>
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
 
 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
+$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;
-
-?>