en fr

nyctergatis.com

Sysquake Remote Live

Unicode

Sysquake Remote fully supports the Unicode character set. Characters exchanged with your browser and source code on the server are encoded using UTF-8. In Sysquake Remote, they're stored as 16-bit numbers (a.k.a. UCS-16). UTF-8 conversion during input and output can be disabled if you've got legacy SBCS (single-byte characters) or MBCS (multibyte characters) documents.

The table below shows 256 Unicode characters, provided your browser and operating system support them. You can change the first character displayed: try 913 for Greek, 1040 for Cyrillic, 1488 for Hebrew, 1569 for Arabic, 3585 for Thai, 12353 for Hiragana, 12449 for Katakana, 12593 for Hangul, or 19968 for CJK unified ideographs. You can enter either its decimal code (e.g. 65), its hexadecimal code prefixed with 0x (e.g. 0x41), or the character itself (e.g. A).

First value: Previous Next

57600
57616
57632
57648
57664
57680
57696
57712
57728
57744
57760
57776
57792
57808
57824
57840

Source code

Here is the code inserted in the file stored on the server. If you look at the source of this page in your browser, you'll see only the HTML code produced by Sysquake Remote.

<?sqr
try
  cc = getfield(httpvars,'c');
  if length(cc) == 1
    c = double(cc);
  else
    c = str2obj(cc);
  end
catch
  c = 32;    // error -> use default value
  cc = '32';
end
?>

<form method="get">
<p>
First value: <input type="text" name="c" value="<?sqr= cc ?>">
<input type="submit" value="Update">
<a href="n-unicode.sqrcgi?c=<?sqr= max(c-256,32) ?>">Previous</a>
<a href="n-unicode.sqrcgi?c=<?sqr= min(c+256,0xff00) ?>">Next</a>
</p>
</form>

<table border="1">
<?sqr
for i = 0:15
  fprintf('<tr><th>%d</th>\n', c + 16 * i);
  fprintf('<td>%c</td>\n', char(c + 16 * i + (0:15)));
  fprintf('</tr>\n');
end
?>
</table>