Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312" /&gt; &lt;title&gt;UTF-8 To Unicode&lt;/title&gt; &lt;style type="text/css"&gt; &lt;!-- td { height: 24px; line-height: 24px; } #content { margin-top: 2px; } --&gt; &lt;/style&gt; &lt;/head&gt; &lt;script type="text/javascript"&gt; function encodeGB2312(){ var c = document.all.content.value; var re = /(%)+/g; var result = escape(c); document.all.content.value = result.replace(re, "\\"); document.all.content.focus(); document.all.content.select(); } function clearContent(){ document.all.content.value = ""; document.all.content.focus(); } &lt;/script&gt; &lt;body&gt; &lt;h3 align="center"&gt;UTF-8 To Unicode&lt;/h3&gt; &lt;table width="600" border="1" cellspacing="0" cellpadding="0" align="center" style="text-align:center;"&gt; &lt;tr&gt; &lt;td&gt;Input what you want to convert:&lt;/td&gt; &lt;td&gt;&lt;input type="text" name="content" id="content" size="50"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2"&gt; &lt;input type="button" name="encoding" value="Start Conversion" onclick="encodeGB2312()"/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;input type="button" name="clear" value=" Cancel" onclick="clearContent();"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><b>This is a sample of convert utf-8 to unicode, do it in turn.</b></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload