<?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 REST API Modular Input: Why are Arabic characters not encoded properly? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143055#M12499</link>
    <description>&lt;P&gt;Hi everyone, &lt;/P&gt;

&lt;P&gt;I'm using the REST API Modular Input to get data from a web page (php). The thing is that data is a mix of arabic and french characters. I specified the charset in props.conf, but that data I'm getting is still not correctly encoded. I tried both CP1256 and ISO-8859-6 codes. &lt;/P&gt;

&lt;P&gt;Can anyone please help me figure that out?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2015 11:57:48 GMT</pubDate>
    <dc:creator>toumii</dc:creator>
    <dc:date>2015-07-24T11:57:48Z</dc:date>
    <item>
      <title>REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143055#M12499</link>
      <description>&lt;P&gt;Hi everyone, &lt;/P&gt;

&lt;P&gt;I'm using the REST API Modular Input to get data from a web page (php). The thing is that data is a mix of arabic and french characters. I specified the charset in props.conf, but that data I'm getting is still not correctly encoded. I tried both CP1256 and ISO-8859-6 codes. &lt;/P&gt;

&lt;P&gt;Can anyone please help me figure that out?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 11:57:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143055#M12499</guid>
      <dc:creator>toumii</dc:creator>
      <dc:date>2015-07-24T11:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143056#M12500</link>
      <description>&lt;P&gt;hey I m facing the same issue i was wondering if you got the solution then maybe you could share &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
have a nice one .&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 12:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143056#M12500</guid>
      <dc:creator>Friss</dc:creator>
      <dc:date>2015-07-24T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143057#M12501</link>
      <description>&lt;P&gt;I don't have any issues with arabic charsets.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/506iA4C84848602B30D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/507iD4CDB689F99FCE42/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 17:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143057#M12501</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-07-24T17:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143058#M12502</link>
      <description>&lt;P&gt;Thank you very much for your respose. I am working with a json response. Do you think this parameter has anything to do with this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143058#M12502</guid>
      <dc:creator>toumii</dc:creator>
      <dc:date>2015-07-24T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143059#M12503</link>
      <description>&lt;P&gt;No issues with json either.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/508i468ED1902C326C7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/509i3C68CFD1FDAAEAF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143059#M12503</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-07-24T18:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Modular Input: Why are Arabic characters not encoded properly?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143060#M12504</link>
      <description>&lt;P&gt;Here's the sourcetype config and the specified encoding :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ivd]
 pulldown_type = true
 LINE_BREAKER = ([\r\n]*)&amp;gt;
 NO_BINARY_CHECK = true
 DATETIME_CONFIG = CURRENT

[host::GI-PC]
 CHARSET = CP1256
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and as you can see in the screenshots the rest api seems to be okay, still the search results are not as they should be.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/510iF3509C12E07718EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/511i638BD4DB8F08F139/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 08:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-Modular-Input-Why-are-Arabic-characters-not-encoded/m-p/143060#M12504</guid>
      <dc:creator>Friss</dc:creator>
      <dc:date>2015-07-27T08:41:23Z</dc:date>
    </item>
  </channel>
</rss>

