changeset 510:25bc2087869e

Translitterate.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Dec 2013 00:03:58 +0200
parents c63c7f98147a
children 6fe66ea0e954
files results.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/results.inc.php	Sun Dec 08 00:01:58 2013 +0200
+++ b/results.inc.php	Sun Dec 08 00:03:58 2013 +0200
@@ -13,7 +13,7 @@
 function stKludge($str)
 {
   $tmp = $str;
-  foreach (array("ä" => "a", "ö" => "o", "Ä" => "A", "Ö" => "O") as $sfrom => $sto)
+  foreach (array("ä" => "ae", "ö" => "oe", "Ä" => "Ae", "Ö" => "Oe") as $sfrom => $sto)
     $tmp = str_replace($sfrom, $sto, $tmp);
 
   return $tmp;