Objet : devel-adl
Archives de la liste
- From: svn AT agendadulibre.org
- To: devel AT agendadulibre.org
- Subject: [Devel] r394 - trunk
- Date: Mon, 29 Sep 2008 09:57:13 +0200 (CEST)
- List-archive: <http://agendadulibre.org/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: thomas
Date: Mon Sep 29 09:57:12 2008
New Revision: 394
Log:
* lugtextlist.php:
- On génère maintenant de l'UTF-8.
- On escape correctement les chaînes contenant des apostrophes.
Modified:
trunk/lugtextlist.php
Modified: trunk/lugtextlist.php
==============================================================================
--- trunk/lugtextlist.php (original)
+++ trunk/lugtextlist.php Mon Sep 29 09:57:12 2008
@@ -26,7 +26,7 @@
calendar_setlocale();
-Header("Content-type: text/plain; charset: iso-8859-1");
+Header("Content-type: text/plain; charset: utf-8");
echo "lon\tlat\ttitle\tdescription\ticon\n";
@@ -38,7 +38,7 @@
if ($lug->city == "")
continue;
- $city = $db->query("select * from cities where name='" . $lug->city . "'");
+ $city = $db->query("select * from cities where name='" .
addslashes($lug->city) . "'");
if (! $city)
continue;
- [Devel] r394 - trunk, svn, 29/09/2008
Archives gérées par MHonArc 2.6.16.