BUGFIX: fixed previous commit about sending mail in utf-8
[e-DoKo.git] / rss.php
diff --git a/rss.php b/rss.php
index 269b734b2fbbdf8eb73763f95a9d5570ce46f6ec..a6e5d1b90e42c4487563d066b7228ed224cae50e 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -1,5 +1,5 @@
 <?php
-/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud <arun@nubati.net>
  *
  *   This file is part of e-DoKo.
  *
@@ -74,23 +74,8 @@ header("Content-Type: text/xml");
 <title>E-DoKo Feed</title>
 <?php
 
-  /* set language */
-  $PREF = DB_get_PREF($id);
-  $lang = $PREF['language'];
-
-  switch($lang)
-    {
-    case 'de':
-      putenv("LC_ALL=de_DE");
-      setlocale(LC_ALL, "de_DE");
-      // Specify location of translation tables
-      bindtextdomain("edoko", "./locale");
-      // Choose domain
-      textdomain("edoko");
-      break;
-    default:
-      /* do nothing */
-    }
+/* set language */
+set_language($id,'uid');
 
 echo '<subtitle>'._('Know when it is your turn')."</subtitle>\n";