Fix buildWrapFunctionSource which had been forgotten when moving analyzed phpdoc...
[plcapi.git] / debugger / action.php
index c818429..05cc99a 100644 (file)
@@ -8,6 +8,9 @@
  * @todo use ob_start to catch debug info and echo it AFTER method call results?
  * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj
  **/
+
+header('Content-Type: text/html; charset=utf-8');
+
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -283,7 +286,7 @@ if ($action) {
                     if ($v->kindOf() == "array") {
                         $max = $v->arraysize();
                         echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
-                        echo "<thead>\n<tr><th>Method</th><th>Description</th></tr>\n</thead>\n<tbody>\n";
+                        echo "<thead>\n<tr><th>Method ($max)</th><th>Description</th></tr>\n</thead>\n<tbody>\n";
                         for ($i = 0; $i < $max; $i++) {
                             $rec = $v->arraymem($i);
                             if ($i % 2) {
@@ -529,6 +532,7 @@ if ($action) {
 
     <h3>Changelog</h3>
     <ul>
+        <li>2015-04-19: fix problems with LATIN-1 characters in payload</li>
         <li>2007-02-20: add visual editor for method payload; allow strings, bools as jsonrpc msg id</li>
         <li>2006-06-26: support building php code stub for calling remote methods</li>
         <li>2006-05-25: better support for long running queries; check for no-curl installs</li>