Fix garbled message text: Difference between revisions

Jump to navigation Jump to search
Line 46: Line 46:
<td> TRUE
<td> TRUE
</td>
</td>
<td style="word-wrap: break-word;"> <ul><li>before: array("作者" => "馬克吐溫"); <li>after: <nowiki>{"\u4f5c\u8005":"\u99ac\u514b\u5410\u6eab"}</nowiki></ul>
<td style="word-wrap: break-word;"> <ul><li>before: <nowiki>array("作者" => "馬克吐溫", "名言" => "\"To a man with a hammer, everything looks like a nail.\" He said.");</nowiki> <li>after: <nowiki>{"\u4f5c\u8005":"\u99ac\u514b\u5410\u6eab","\u540d\u8a00":"\"To a man with a hammer, everything looks like a nail.\" He said."}</nowiki></ul>
</td>
</td>
</tr>
</tr>
Line 56: Line 56:
<td> <span style="color: #999">FALSE</span>
<td> <span style="color: #999">FALSE</span>
</td>
</td>
<td style="word-wrap: break-word;"> <ul><li>before: array("作者" => "馬克吐溫"); <li>after: a:1:{s:6:"作者";s:12:"馬克吐溫";}</ul>
<td style="word-wrap: break-word;"> <ul><li>before: <nowiki>array("作者" => "馬克吐溫", "名言" => "\"To a man with a hammer, everything looks like a nail.\" He said.");</nowiki> <li>after: <nowiki>a:2:{s:6:"作者";s:12:"馬克吐溫";s:6:"名言";s:64:""To a man with a hammer, everything looks like a nail." He said.";}</nowiki></ul>
</td>
</tr>
<tr>
<th> [http://php.net/manual/en/function.htmlentities.php PHP: htmlentities][http://www.w3schools.com/html/html_entities.asp]
</th>
<td> Replace reserved characters e.g. double quote symbol
</td>
<td> <span style="color: #999">FALSE</span>
</td>
<td style="word-wrap: break-word;"> <ul><li>before: <nowiki>馬克吐溫名言 "To a man with a hammer, everything looks like a nail."</nowiki> <li>after: <nowiki>
馬克吐溫名言 &quot;To a man with a hammer, everything looks like a nail.&quot;quot;</nowiki></ul>
</td>
</td>
</tr>
</tr>

Navigation menu