Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I suggest to set a breakpoint on</p> <pre><code>paragraphNode.innerHTML = text; </code></pre> <p>and inspect text it in the JavaScript console, e.g. with</p> <pre><code>console.log(escape(text)); </code></pre> <p>or</p> <pre><code>console.log(encodeURIComponent(text)); </code></pre> <p>or</p> <pre><code>for (i=0; i &lt; text.length; i++) { console.log("i = "+i); console.log("text.charAt(i) = "+text.charAt(i) +", text.charCodeAt(i) = "+text.charCodeAt(i)); } </code></pre> <p>See also</p> <p><a href="http://www.fileformat.info/info/unicode/char/30a6/index.htm" rel="nofollow">http://www.fileformat.info/info/unicode/char/30a6/index.htm</a></p> <p><a href="https://developer.mozilla.org/en-US/docs/DOM/window.escape" rel="nofollow">https://developer.mozilla.org/en-US/docs/DOM/window.escape</a> (which is not part of any standard)</p> <p>and</p> <p><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent" rel="nofollow">https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent</a></p> <p>or similar resources.</p> <p>Your source files may not be in the encoding you assume (UTF-8).</p> <p>JavaScript assumes UTF-16 strings:</p> <p><a href="http://www.ecma-international.org/ecma-262/5.1/#sec-4.3.16" rel="nofollow">http://www.ecma-international.org/ecma-262/5.1/#sec-4.3.16</a></p> <p>Java also assumes UTF-16:</p> <p><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html" rel="nofollow">http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html</a></p> <p>The Linux or Cygwin <code>file</code> command can show you the encoding of your files.</p> <p>See</p> <p><a href="http://linux.die.net/man/1/file" rel="nofollow">http://linux.die.net/man/1/file</a> (haven't found a kernel.org man reference)</p>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      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