<?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 URL encoding in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319728#M89944</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I run into problem to download files from Sharepoint when there are special characters.&lt;BR /&gt;&lt;BR /&gt;I use a tHttprequest component to get the files.&lt;BR /&gt;&lt;BR /&gt;As long as there is no special characters, it runs smoothly.&lt;BR /&gt;&lt;BR /&gt;But as soon as there are spaces or special characters, I encounter issues.&lt;BR /&gt;&lt;BR /&gt;For instance I want to download a file whose name is &lt;STRONG&gt;file example.txt&lt;/STRONG&gt; (With a space between file and example), it works fine if I encode it like &lt;STRONG&gt;file%20example.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So I wanted to use this conversion:&lt;BR /&gt;&lt;STRONG&gt;java.net.URLEncoder.encode(badURI, "UTF-8")&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;But instead of &lt;STRONG&gt;file%20example.txt&lt;/STRONG&gt;, I get &lt;STRONG&gt;file+example.txt&lt;/STRONG&gt; and get an error from sharepoint.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how I have to adjust the method java.net.URLEncoder.encode call to get the requested result ? Or may I have to use another one ?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 08:04:32 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-08-10T08:04:32Z</dc:date>
    <item>
      <title>URL encoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319728#M89944</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I run into problem to download files from Sharepoint when there are special characters.&lt;BR /&gt;&lt;BR /&gt;I use a tHttprequest component to get the files.&lt;BR /&gt;&lt;BR /&gt;As long as there is no special characters, it runs smoothly.&lt;BR /&gt;&lt;BR /&gt;But as soon as there are spaces or special characters, I encounter issues.&lt;BR /&gt;&lt;BR /&gt;For instance I want to download a file whose name is &lt;STRONG&gt;file example.txt&lt;/STRONG&gt; (With a space between file and example), it works fine if I encode it like &lt;STRONG&gt;file%20example.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So I wanted to use this conversion:&lt;BR /&gt;&lt;STRONG&gt;java.net.URLEncoder.encode(badURI, "UTF-8")&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;But instead of &lt;STRONG&gt;file%20example.txt&lt;/STRONG&gt;, I get &lt;STRONG&gt;file+example.txt&lt;/STRONG&gt; and get an error from sharepoint.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how I have to adjust the method java.net.URLEncoder.encode call to get the requested result ? Or may I have to use another one ?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 08:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319728#M89944</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-08-10T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: URL encoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319729#M89945</link>
      <description>Do you write these conversion directly in the URI field of tHttpRequest? Maybe you can do it on a tJava component and assign the result to a context variable, and use the context variable as URI. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 10 Aug 2016 11:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319729#M89945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T11:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: URL encoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319730#M89946</link>
      <description>Hi,&lt;BR /&gt;No, I do the conversion in a tXmlmap&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 10 Aug 2016 13:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/URL-encoding/m-p/2319730#M89946</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-08-10T13:22:55Z</dc:date>
    </item>
  </channel>
</rss>

