FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Umlaut issue with 2.7.7 on Fedora 8 with UTF-8 (resolved)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Umlaut issue with 2.7.7 on Fedora 8 with UTF-8 (resolved) [message #158544 is a reply to message #158513] Tue, 03 March 2009 06:23 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Here is an interim patch for Windows installations:

Index: compiler.inc
===================================================================
RCS file: /forum21/install/forum_data/include/compiler.inc,v
retrieving revision 1.97
diff -u -r1.97 compiler.inc
--- compiler.inc        29 Jan 2009 18:37:17 -0000      1.97
+++ compiler.inc        3 Mar 2009 06:13:06 -0000
@@ -185,9 +185,9 @@
                                break;
                        case 'DATE':
                                if ($name[0] != '!') {
-                                       $ret .= '\'.strftime("'.ltrim(substr($str, ++$ds, ($e - $ds))).'", $'.$name.').\'';
+                                       $ret .= '\'.utf8_encode(strftime("'.ltrim(substr($str, ++$ds, ($e - $ds))).'", $'.$name.')).\'';
                                } else {
-                                       $ret .= '\'.strftime("'.ltrim(substr($str, ++$ds, ($e - $ds))).'", '.substr($name,1).').\'';
+                                       $ret .= '\'.utf8_encode(strftime("'.ltrim(substr($str, ++$ds, ($e - $ds))).'", '.substr($name,1).')).\'';
                                }
                                break;
                        case 'TEMPLATE':
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What should I know before I upgrade?
Next Topic: Warning: Invalid argument supplied for foreach (RESOLVED)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 02:53:43 GMT 2024

Total time taken to generate the page: 0.03853 seconds