<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
function escape($text)
{
- return preg_replace('/[,;:]/', '\\\\$0', $text);
+ return preg_replace('/[,;]/', '\\\\$0', $text);
}
function format_adr($params, &$smarty)
header("Pragma: ");
header("Cache-Control: ");
- header("Content-type: text/x-vcard; charset=iso-8859-15");
+ header("Content-type: text/x-vcard; charset=UTF-8");
header("Content-Transfer-Encoding: 8bit");
}
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>