<?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 using UTF-8 files for CSV lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/using-UTF-8-files-for-CSV-lookup/m-p/47027#M11232</link>
    <description>&lt;P&gt;I need to use a .CSV file for a lookup which has accented characters in the field values&lt;/P&gt;

&lt;P&gt;If I save the file in ANSI mode, Splunk will complain it is not UTF:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SimpleResultsTable module] Input is not proper UTF-8, indicate encoding !
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I save the file in UTF-8 mode or UNICODE, the lookup will not work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Error 'Could not find all of the specified lookup fields in the lookup table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;These edits are being done in Notepad / Windows &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2011 14:09:34 GMT</pubDate>
    <dc:creator>ruiaires</dc:creator>
    <dc:date>2011-07-22T14:09:34Z</dc:date>
    <item>
      <title>using UTF-8 files for CSV lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-UTF-8-files-for-CSV-lookup/m-p/47027#M11232</link>
      <description>&lt;P&gt;I need to use a .CSV file for a lookup which has accented characters in the field values&lt;/P&gt;

&lt;P&gt;If I save the file in ANSI mode, Splunk will complain it is not UTF:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SimpleResultsTable module] Input is not proper UTF-8, indicate encoding !
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I save the file in UTF-8 mode or UNICODE, the lookup will not work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Error 'Could not find all of the specified lookup fields in the lookup table
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;These edits are being done in Notepad / Windows &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2011 14:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-UTF-8-files-for-CSV-lookup/m-p/47027#M11232</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2011-07-22T14:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: using UTF-8 files for CSV lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-UTF-8-files-for-CSV-lookup/m-p/47028#M11233</link>
      <description>&lt;P&gt;Convert your lookup to not have accented characters.&lt;/P&gt;

&lt;P&gt;Is the splunk machine nix based?  If so, try using dosutils.... dos2unix [filename] to convert to proper format.&lt;/P&gt;

&lt;P&gt;Also try using notepad++ not notepad... never use notepad for ETL.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 13:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-UTF-8-files-for-CSV-lookup/m-p/47028#M11233</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2015-12-14T13:10:20Z</dc:date>
    </item>
  </channel>
</rss>

