blob: 0f9a1f2148599b14ae9a3edaf2e86d87ddb5a46a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: function iri2uri</title>
</head><body bgcolor="#f0f0f8">
<dl><dt><a name="-httplib2.iri2uri"><strong>httplib2.iri2uri</strong></a> = iri2uri(uri)</dt><dd><tt>Convert&nbsp;an&nbsp;IRI&nbsp;to&nbsp;a&nbsp;URI.&nbsp;Note&nbsp;that&nbsp;IRIs&nbsp;must&nbsp;be&nbsp;<br>
passed&nbsp;in&nbsp;a&nbsp;unicode&nbsp;strings.&nbsp;That&nbsp;is,&nbsp;do&nbsp;not&nbsp;utf-8&nbsp;encode<br>
the&nbsp;IRI&nbsp;before&nbsp;passing&nbsp;it&nbsp;into&nbsp;the&nbsp;function.</tt></dd></dl>
</body></html>