<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic portal Add File item Non-asccii dataUrl failed in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/portal-add-file-item-non-asccii-dataurl-failed/m-p/423897#M2039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using portal rest api to add item. when the item type is file, I use the dataURL parameter. Like the sample below &lt;/P&gt;&lt;P&gt;&lt;IMG alt="dataurl.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/200957_dataurl.jpg" style="width: 620px; height: 147px;" /&gt;&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;My question is&amp;nbsp; when the dataUrl is English characters,it works fine, if the dataUrl has Chinese characters like this: &lt;A href="http://myserver/csv/餐馆restaurants.csv"&gt;http://myserver/csv/餐馆restaurants.csv&lt;/A&gt;.&amp;nbsp; It failed.&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;I try to encode the url ,it failed again. &lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;How can I do ?&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 03:27:53 GMT</pubDate>
    <dc:creator>chenjun</dc:creator>
    <dc:date>2016-05-16T03:27:53Z</dc:date>
    <item>
      <title>portal Add File item Non-asccii dataUrl failed</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/portal-add-file-item-non-asccii-dataurl-failed/m-p/423897#M2039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using portal rest api to add item. when the item type is file, I use the dataURL parameter. Like the sample below &lt;/P&gt;&lt;P&gt;&lt;IMG alt="dataurl.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/200957_dataurl.jpg" style="width: 620px; height: 147px;" /&gt;&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;My question is&amp;nbsp; when the dataUrl is English characters,it works fine, if the dataUrl has Chinese characters like this: &lt;A href="http://myserver/csv/餐馆restaurants.csv"&gt;http://myserver/csv/餐馆restaurants.csv&lt;/A&gt;.&amp;nbsp; It failed.&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;I try to encode the url ,it failed again. &lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;How can I do ?&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 03:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/portal-add-file-item-non-asccii-dataurl-failed/m-p/423897#M2039</guid>
      <dc:creator>chenjun</dc:creator>
      <dc:date>2016-05-16T03:27:53Z</dc:date>
    </item>
  </channel>
</rss>

