[xoops-cvslog 4637] CVS update: xoops2jp/html/include

アーカイブの一覧に戻る

NobuNobu nobun****@users*****
2006年 9月 25日 (月) 23:50:57 JST


Index: xoops2jp/html/include/functions.php
diff -u xoops2jp/html/include/functions.php:1.2.8.18 xoops2jp/html/include/functions.php:1.2.8.19
--- xoops2jp/html/include/functions.php:1.2.8.18	Fri Sep 15 14:23:31 2006
+++ xoops2jp/html/include/functions.php	Mon Sep 25 23:50:56 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: functions.php,v 1.2.8.18 2006/09/15 05:23:31 minahito Exp $
+// $Id: functions.php,v 1.2.8.19 2006/09/25 14:50:56 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -747,11 +747,13 @@
 {
     if (XOOPS_USE_MULTIBYTES == 1) {
         if (function_exists('mb_convert_encoding')) {
-            return mb_convert_encoding($text, 'UTF-8', 'auto');
+            $out_text = mb_convert_encoding($text, 'UTF-8', 'auto');
+            return $out_text;
         }
-        return $text;
+        return $out_text;
     }
-    return utf8_encode($text);
+    $out_text = utf8_encode($text);
+    return $out_text;
 }
 
 function &xoops_convert_encoding(&$text)


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る