Changeset 162


Ignore:
Timestamp:
Oct 19, 2012, 11:33:58 PM (7 years ago)
Author:
duerst@…
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-iri-3987bis/draft-ietf-iri-3987bis.xml

    r161 r162  
    681681    used, converting &lt;ireg-name> as follows:</t>
    682682
    683   <t>If there are any sequences of &lt;pct-encoded&gt;, and their
     683  <t>If there is any percent-encoding, and the
    684684    corresponding octets all represent valid UTF-8
    685685    octet sequences, then convert these back to Unicode
    686     character sequences. (If any &lt;pct-encoded&gt; sequences are not
     686    character sequences. (If any percent-encodings are not
    687687    valid UTF-8 octet sequences, then leave the entire field as is
    688688    without any change, since punycode encoding would not succeed.)</t>
     
    743743          based on UCS (e.g., not UTF-8 or UTF-16). In such a case, the "query" component of an IRI
    744744          is mapped into a URI by using the document charset rather than UTF-8 as the binary
    745           representation before pct-encoding. This mapping is not applied for any other schemes or
     745          representation before percent-encoding. This mapping is not applied for any other schemes or
    746746          components.</t>
    747747
     
    15781578      <t><list style="numbers">
    15791579       
    1580         <t>Pct-encoding on the whole thing to a URI.
     1580        <t>Percent-encoding on the whole thing to a URI.
    15811581          (c1) If you want a (maybe broken) whole URI, you might
    15821582          stop here.</t>
     
    15851585          (b1) If you want (maybe broken) URI components, stop here.</t>
    15861586       
    1587         <t> Decode the components (undoing the pct-encoding).
     1587        <t>Decode the components (undoing the percent-encoding).
    15881588          (a) if you want IRI components, stop here.</t>
    15891589       
    1590         <t> reencode:  Either using a different encoding some components
     1590        <t>reencode:  Either using a different encoding some components
    15911591          (for domain names, and query components in web pages, which
    15921592          depends on the component, scheme and context), and otherwise
    1593           using pct-encoding.
     1593          using percent-encoding.
    15941594          (b2) if you want (good) URI components, stop here.</t>
    15951595       
    1596         <t> reassemble the reencoded components.
     1596        <t>reassemble the reencoded components.
    15971597          (c2) if you want a (*good*) whole URI stop here.</t>
    15981598      </list>
     
    16061606        <list style="numbers">
    16071607         
    1608           <t> Parse the IRI into IRI components using the generic syntax.
     1608          <t>Parse the IRI into IRI components using the generic syntax.
    16091609            (a) if you want IRI components, stop here.</t>
    16101610         
    1611           <t> Encode each components, using pct-encoding, IDN encoding, or
     1611          <t>Encode each components, using percent-encoding, IDN encoding, or
    16121612            special query part encoding depending on the component
    16131613            scheme or context. (b) If you want URI components, stop here.</t>
Note: See TracChangeset for help on using the changeset viewer.