<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$txt .= ';'.$param['param'];
if (isset($param['value'])) {
if ($txt) $txt .= ':';
- $txt .= utf8_encode(
- preg_replace('/[,;:]/', '\\\\$0',
- preg_replace("/(\r\n|\r|\n)/", '\n', $param['value'])));
+ $txt .= preg_replace('/[,;:]/', '\\\\$0', preg_replace("/(\r\n|\r|\n)/", '\n', $param['value']));
}
$length = strlen($txt);
$endline = "\n";
$folded_txt .= $endline.' '.substr($txt, $i, $maxchars - 1);
return $folded_txt;
}
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>