Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc58b40f

Browse files
committed
conversion, added link to release notes and organised notes to match reordered output fields
1 parent4c7cc78 commitc58b40f

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

‎index.html

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236

237237
<divid="showNotes"style="margin-left: 15px"onclick="toggleNotes()">show notes</div>
238238

239-
<divid="detailednotes"style="display:none">
239+
<divid="detailednotes"style="display:block">
240240
<p><strong>Notes:</strong></p>
241241

242242
<asideclass="sidebar">
@@ -250,6 +250,8 @@ <h2 class="flush">Related links</h2>
250250

251251
<pid="status">Updated Sun 26 Jun 2016 &bull; tags<ahref="http://rishida.net/blog/index.php?tag=converter"title="Show all blog posts tagged with 'converter'">converter</a>,<ahref="http://rishida.net/blog/?tag=scriptnotes"title="Show all blog posts tagged with 'scriptnotes'">scriptnotes</a></p>
252252

253+
<p>See<ahref="http://rishida.net/blog/?p=1733">release notes for version 8</a>.</p>
254+
253255
<p><bclass="leadin">Standard use.</b> Most of the time you will probably want to drop the text to be converted into the<code>Mixed input</code> field, and hit the associated<code>Convert</code> button. This will convert all escapes to characters, then convert that into each of the forms listed against the boxes below.</p>
254256
<p>If your text contains bare numbers that you also want to convert, use one of the convert buttons to the right. (Be aware, however, that in this case something like 'ab' could be interpreted as a hex number.)</p>
255257
<p>Note, also, that escapes of the form \x, where x is one of a-zA-Z0-9 are not recognised by default. If you check the box next to<code>Convert \x</code> only the special JavaScript escapes are recognised (eg. \b, \n, \t, \&quot;, etc.) For full CSS behaviour here, use the CSS input field.</p>
@@ -274,22 +276,40 @@ <h3>HTML/XML</h3>
274276
<pclass="warning">Note that if your text contains RLO or LRO plus PDF, the PDF will incorrectly be converted to<code>&lt;/span&gt;</code> at the moment. I may fix this (and thereby allow RLO/LRO conversion too) at a later date.</p>
275277

276278

277-
<h3>Percent-encoding for URIs</h3>
278-
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only percent escapes are converted.</p>
279-
<p><strong> When conversion puts something here:</strong>&nbsp; Characters allowed in URI syntax are not converted.</p>
280-
281-
282279
<h3>Hexadecimal NCRs</h3>
283280
<p><strong>If you start a conversion from here:</strong> It can be a mix of text and escapes. Only hexadecimal NCRs are converted.</p>
284281
<p><strong> When conversion puts something here:</strong> By default, everything except ASCII characters is converted.</p>
285282
<p>You can use the checkboxes to specify whether ANSI (Latin1) characters remain unchanged, or whether all characters are converted.</p>
286283

284+
285+
287286
<h3>Decimal NCRs</h3>
288287
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only decimal NCRs are converted.</p>
289288
<p><strong> When conversion puts something here:</strong>&nbsp; By default, everything except ASCII characters is converted.</p>
290289
<p>You can use the checkboxes to specify whether ANSI (Latin1) characters remain unchanged, or whether all characters are converted.</p>
291290

291+
292292

293+
<h3>JavaScript escapes</h3>
294+
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only JavaScript escapes are converted. Accepts escapes as used in JavaScript (old style and ES6), Java and C.</p>
295+
<p><strong> When conversion puts something here:</strong>&nbsp; By default, everything except ASCII characters is converted to numeric escapes, and the following escapes are substituted for ASCII characters: \0, \b, \t, \v, \f, \\.</p>
296+
<p>The default output to this field is specifically JavaScript compliant, though this is valid Java code too (a small number of Java-only named escapes such as<codeclass="kw"translate="no">\e</code> are rendered as numeric escapes).</p>
297+
<p>If<code>C-style</code> is checked, supplementary characters are rendered by a single number, eight digits long, rather than two adjacent surrogate code point numbers.</p>
298+
<p>If<code>ES6-style</code> is checked, supplementary characters are also rendered as a single number but using the new format described by EcmaScript 6.</p>
299+
<p>If<code>\n etc</code> is checked, line feeds and quotation marks are also escaped.</p>
300+
301+
302+
<h3>CSS escapes</h3>
303+
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes.</p>
304+
<p><strong> When conversion puts something here:</strong>&nbsp; It does not escape non-control ASCII characters. Output content uses 6-digit escape forms<em>followed by a space</em> for supplementary characters, and 4-digit escapes followed by a space for all other escaped characters.</p>
305+
306+
307+
<h3>Percent-encoding for URIs</h3>
308+
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only percent escapes are converted.</p>
309+
<p><strong> When conversion puts something here:</strong>&nbsp; Characters allowed in URI syntax are not converted.</p>
310+
311+
312+
293313
<h3>Unicode U+hex notation</h3>
294314
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only U+hex escapes are converted.</p>
295315
<p><strong> When conversion puts something here:</strong>&nbsp; By default, everything except ASCII characters is converted.</p>
@@ -330,27 +350,13 @@ <h3>UTF-8 code units</h3>
330350
<h3>UTF-16 code units</h3>
331351
<p><strong>If you start a conversion from here:</strong>&nbsp; It must be hexadecimal code units only, separated by spaces.</p>
332352
<p><strong> When conversion puts something here:</strong>&nbsp; You'll see hexadecimal numbers of 1 to 4 digits representing the UTF-16 code units for the text converted. Supplementary characters are represented by two code units.</p>
333-
334-
335-
<h3>JavaScript escapes</h3>
336-
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes. Only JavaScript escapes are converted. Accepts escapes as used in JavaScript (old style and ES6), Java and C.</p>
337-
<p><strong> When conversion puts something here:</strong>&nbsp; By default, everything except ASCII characters is converted to numeric escapes, and the following escapes are substituted for ASCII characters: \0, \b, \t, \v, \f, \\.</p>
338-
<p>The default output to this field is specifically JavaScript compliant, though this is valid Java code too (a small number of Java-only named escapes such as<codeclass="kw"translate="no">\e</code> are rendered as numeric escapes).</p>
339-
<p>If<code>C-style</code> is checked, supplementary characters are rendered by a single number, eight digits long, rather than two adjacent surrogate code point numbers.</p>
340-
<p>If<code>ES6-style</code> is checked, supplementary characters are also rendered as a single number but using the new format described by EcmaScript 6.</p>
341-
<p>If<code>\n\'\&quot;</code> is checked, line feeds and quotation marks are also escaped.</p>
342-
343-
344-
<h3>CSS escapes</h3>
345-
<p><strong>If you start a conversion from here:</strong>&nbsp; It can be a mix of text and escapes.</p>
346-
<p><strong> When conversion puts something here:</strong>&nbsp; It does not escape non-control ASCII characters. Output content uses 6-digit escape forms<em>followed by a space</em> for supplementary characters, and 4-digit escapes followed by a space for all other escaped characters.</p>
347353
</section>
348354

349355
</div>
350356

351357

352358
<divclass="smallprint"><spanid="version">This version<spanid="version-info">
353-
<!-- #BeginDate format:IS1m -->2016-06-2817:53<!-- #EndDate -->
359+
<!-- #BeginDate format:IS1m -->2016-06-2818:04<!-- #EndDate -->
354360
</span> GMT. &nbsp;&bull;&nbsp; Copyright<ahref="mailto:r12a@w3.org">r12a@w3.org</a>. Licence GPL (see source).</span></div>
355361

356362
<scripttype="text/javascript">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp