hholzgra                Thu Jan 17 11:33:26 2002 EDT

  Modified files:              
    /phpdoc/scripts/apply       func2methodsyn.php 
  Log:
  deal with european special chars in translated parameter names
  (xslt_process converts these to UTF-8 encoding so we have to decode back)
  (TODO: check if non-european translations have translated parameter names
         and add utf8-conversion for these)
  
  
Index: phpdoc/scripts/apply/func2methodsyn.php
diff -u phpdoc/scripts/apply/func2methodsyn.php:1.2 
phpdoc/scripts/apply/func2methodsyn.php:1.3
--- phpdoc/scripts/apply/func2methodsyn.php:1.2 Thu Jan 17 08:07:46 2002
+++ phpdoc/scripts/apply/func2methodsyn.php     Thu Jan 17 11:33:25 2002
@@ -127,11 +127,11 @@
                                $result = str_replace("&","&",$result);
                                $result = explode("\n",$result);
                                unset($result[0]);
-                               $output .= rtrim(join("\n",$result))."\n";
+                               $output .= rtrim(utf8_decode(join("\n",$result)))."\n";
                        } else {
                                echo "line $nr\n";
                                echo $funcsyn;
-                               return fasle;
+                               return false;
                        }
                } else if (strstr($line,("<?xml"))&&($nr==1)) {
                        $xmlhead=$line;


Reply via email to