Improve url catcher
[banana.git] / banana / utf8.php
index 6a9fb51..586bc31 100644 (file)
@@ -1,15 +1,12 @@
 <?php\r
+/********************************************************************************\r
+* banana/utf8.php : utf8 to html entities\r
+* ---------------\r
+*\r
+* This file is part of the banana distribution\r
+* Copyright: See COPYING files that comes with this distribution\r
+********************************************************************************/\r
 \r
-/**\r
- * Transforme une chaine encodée en UTF-8, et la convertit\r
- * en entitiées unicode &#xxx; pour que ça s'affiche correctement\r
- * dans les navigateurs, sans forcément tenir compte du meta\r
- * content-type charset...\r
- * @param String $source la chaine en UTF-8\r
- * @return String les entitées\r
- * @access public\r
- * @see http://www.php.net/utf8_decode\r
- */\r
 function utf8entities($source)\r
 {\r
    // array used to figure what number to decrement from character order value \r
@@ -85,4 +82,5 @@ function utf8entities($source)
    return $encodedString;\r
 }\r
 \r
+// vim:set et sw=4 sts=4 ts=4\r
 ?>\r