You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uri.normalizeHash(); // returns the URI instance for chaining
502
507
// uri == "http://example.org/bar/world.xml"</pre>
503
508
509
+
510
+
<h2id="charsets">Charsets / Encodings</h2>
511
+
512
+
<h3id="#iso8859">iso8859()</h3>
513
+
<p>.iso8859() converts unicode-encoded escape sequences to ISO8859-encoded escape sequences. It does this by calling <ahref="#normalize">.normalize()</a> internally.</p>
514
+
<preclass="prettyprint lang-js">var uri = new URI("/%C3%A4.html");
515
+
uri.iso8859(); // returns the URI instance for chaining
516
+
// uri == "/%E4.html"</pre>
517
+
<p>NOTE: You can make URI work with ISO8859 encoding by default by calling <ahref="#static-iso8859">URI.iso8859()</a>.
518
+
519
+
<h3id="#unicode">unicode()</h3>
520
+
<p>.unicode() converts ISO8859-encoded escape sequences to unicode-encoded escape sequences. It does this by calling <ahref="#normalize">.normalize()</a> internally.</p>
521
+
<preclass="prettyprint lang-js">var uri = new URI("/%E4.html");
522
+
uri.unicode(); // returns the URI instance for chaining
0 commit comments