<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="39668" data-post-id="39668">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="svsdehh" data-post="21" data-topic="6523" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/s/958977/48.png" class="avatar"> svsdehh:</div>
<blockquote>
<p>have you tried starting the file with a utf8 BOM? We are using a BOM at the start of the csv export file and excel is correctly recognizing the char set as uft8 and is therefore displaying all umlauts as it should.</p>
<p>see: <a href="https://en.wikipedia.org/wiki/Byte_order_mark" class="inline-onebox" rel="noopener nofollow ugc">Byte order mark - Wikipedia</a></p>
</blockquote>
</aside>
<p>This is what I was just coming in to suggest.  Excel is stupid and needs the non-standard (for about anything else nowadays) BOM to mark such CSV files.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="39668" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-39668" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="39668"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="39682" data-post-id="39682">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="gregvaughn" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/gregvaughn/120/954_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  gregvaughn
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The stackoverflow link I posted above discussed BOM and different versions of Excel do not behave consistently with it. Perhaps the versions of Excel someone might care about today is smaller and it is a solution though.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="39682" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-39682" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="39682"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="39827" data-post-id="39827">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Max" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Max/120/10962_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Max
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for all your input. Then BOM seems to be the best solution for newer versions of office.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="39827" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-39827" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="39827"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="39835" data-post-id="39835">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Tallak_Tveide" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Tallak_Tveide
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>One more thing, then opening the csv file in Excel, you can select code<br>
page - utf-8 is on that list.</p>
<p>Tallak</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="39835" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-39835" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="39835"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #24"></div>
  </section>
</div>
    <div class="postbit" id="91703" data-post-id="91703">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="nburkley" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nburkley/120/3261_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  nburkley
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I came across this thread when I was having similar issues displaying CSV files in Excel. After some trial-and-error with different encodings and BOM chars I found the best solution was to encode the CSV as <code>tab-delimited UTF-16 LE</code>.</p>
<p>I put together a blog post on the topic here in the hope it helps the next time someone has the same problem:</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://underthehood.meltwater.com/blog/2018/08/08/excel-friendly-csv-exports-with-elixir/">
  <header class="source">
      <img src="https://forum.elixirforum.com/uploads/default/original/2X/1/11fe2aba4fb47700bb2fcb0372d3ac20a1f289d3.png" class="site-icon" alt="" data-dominant-color="393939" width="16" height="16">

      <a href="https://underthehood.meltwater.com/blog/2018/08/08/excel-friendly-csv-exports-with-elixir/" target="_blank" rel="noopener nofollow ugc">underthehood.meltwater.com</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:473/397;"><img src="https://forum.elixirforum.com/uploads/default/original/2X/0/0c5ae8b4b15ec283035104b3e5f573564d4bad3e.png" class="thumbnail" alt="" data-dominant-color="C7CCD0" width="473" height="397"></div>

<h3><a href="https://underthehood.meltwater.com/blog/2018/08/08/excel-friendly-csv-exports-with-elixir/" target="_blank" rel="noopener nofollow ugc">Excel Friendly CSV Exports with Elixir</a></h3>

  <p>Love it or hate it, CSV is a format many developers have to deal with at some stage. It’s lightweight and it’s understood by many platforms and humans. However, if you’re using non-ASCII characters (like an umlaut on the word über or accent in José)...</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="91703" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-91703" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="91703"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #25"></div>
  </section>
</div>
    <div class="postbit" id="162258" data-post-id="162258">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jmurphyweb" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jmurphyweb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks a lot for doing this, I’m working through it now.</p>
<p>A couple of tiny typos in there btw:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># missing closing "
NimbleCSV.define(CSVParser, separator: "\t", escape: "\")

  # missing ,
  @user_data [
    ~w(Date Name Age City Comment)
    ~w(2018-08-06 Heike 23 Köln Hallo👋),
   ...
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="162258" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-162258" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="162258"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #26"></div>
  </section>
</div>
    <div class="postbit" id="162269" data-post-id="162269">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Excel friendly handling is now available in nimble_csv itself <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p><a href="https://twitter.com/dashbit/status/1224691036955475969?s=21" class="onebox" target="_blank" rel="noopener nofollow">https://twitter.com/dashbit/status/1224691036955475969?s=21</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="162269" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-162269" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="162269"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #27"></div>
  </section>
</div>
    <div class="postbit" id="162519" data-post-id="162519">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jmurphyweb" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jmurphyweb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="LostKobrakai" data-post="28" data-topic="6523">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lostkobrakai/48/3072_2.png" class="avatar"> LostKobrakai:</div>
<blockquote>
<p>Excel friendly handling is now available in nimble_csv itself <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
</blockquote>
</aside>
<p>I don’t have Excel but my clients do, so I am operating on slow feedback loop, but I’ve tried to use the <code>NimbleCSV.Spreadsheet</code> parser to no effect.</p>
<p>Here’s my code:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># this is our NimbleCSV parser which we define inline for tab-delimited CSV
NimbleCSV.define(NimbleCSV.Spreadsheet, [])

defmodule CSVSpike.Writer do
  @user_data [
    ~w(Date Time Name Age Price City Comment),
    ~w(2018-08-06 11:00 Heike 23 €2.00 Köln Hallo👋),
    ~w(2018-08-07 21:00 Jürgen 44 £2.00 München 😸Tschüß❤️)
  ]

  def write_csv_file do
    File.write!("users.csv", data_to_csv())
  end

  defp data_to_csv() do
    @user_data
    |&gt; NimbleCSV.Spreadsheet.dump_to_iodata()
  end
end
</code></pre>
<p>Does anything look wrong with that?</p>
<hr>
<p>My clients (both windows and mac users) report this as not formatting correctly in their respective versions of Excel.</p>
<p>These are the settings that are passed by default by the Spreadsheet parser:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">NimbleCSV.define(NimbleCSV.Spreadsheet,
  separator: "\t",
  escape: "\"",
  encoding: {:utf16, :little},
  trim_bom: true,
  dump_bom: true
)
</code></pre>
<p>Firing up an <code>iex -S mix</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">CSVSpike.Writer.write_csv_file() ; File.read!("users.csv")
"Date,Time,Name,Age,Price,City,Comment\n2018-08-06,11:00,Heike,23,€2.00,Köln,Hallo👋\n2018-08-07,21:00,Jürgen,44,£2.00,München,😸Tschüß❤️\n"
</code></pre>
<p>Am I supposed to see the BOM prepended here?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="162519" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-162519" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="162519"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #28"></div>
  </section>
</div>
    <div class="postbit" id="162520" data-post-id="162520">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jmurphyweb" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jmurphyweb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Ahh I think I have found the issue. Here it works in <code>iex</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">iex(1)&gt; "Date" |&gt; IO.inspect(binaries: :as_binaries)
&lt;&lt;68, 97, 116, 101&gt;&gt;
"Date"
iex(2)&gt; :unicode.encoding_to_bom({:utf16, :little})
&lt;&lt;255, 254&gt;&gt;
iex(3)&gt; [["Date"]] |&gt; NimbleCSV.Spreadsheet.dump_to_iodata()
[&lt;&lt;255, 254&gt;&gt;, [&lt;&lt;68, 0, 97, 0, 116, 0, 101, 0&gt;&gt;, &lt;&lt;10, 0&gt;&gt;]]
iex(4)&gt; [["Date"]] |&gt; NimbleCSV.Spreadsheet.dump_to_iodata() |&gt; Enum.map(&amp; IO.inspect(&amp;1, binaries: :as_strings))
"\xFF\xFE"
["D\0a\0t\0e\0", "\n\0"]
[&lt;&lt;255, 254&gt;&gt;, [&lt;&lt;68, 0, 97, 0, 116, 0, 101, 0&gt;&gt;, &lt;&lt;10, 0&gt;&gt;]]
iex(5)&gt;
</code></pre>
<p>Defining the parser at the top of the file was the issue. I don’t quite understand this API but incase anyone else has the same issue, just make sure not to run: <code>NimbleCSV.define(NimbleCSV.Spreadsheet, [])</code> at the top of the file.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">iex(5)&gt;
nil
iex(6)&gt;
nil
iex(7)&gt; NimbleCSV.define(NimbleCSV.Spreadsheet, [])
warning: redefining module NimbleCSV.Spreadsheet (current version loaded from _build/dev/lib/nimble_csv/ebin/Elixir.NimbleCSV.Spreadsheet.beam)
  deps/nimble_csv/lib/nimble_csv.ex:211

{:module, NimbleCSV.Spreadsheet,
 &lt;&lt;70, 79, 82, 49, 0, 0, 46, 112, 66, 69, 65, 77, 65, 116, 85, 56, 0, 0, 3, 15,
   0, 0, 0, 69, 28, 69, 108, 105, 120, 105, 114, 46, 78, 105, 109, 98, 108, 101,
   67, 83, 86, 46, 83, 112, 114, 101, 97, ...&gt;&gt;, :ok}
iex(8)&gt; [["Date"]] |&gt; NimbleCSV.Spreadsheet.dump_to_iodata()
[["Date", 10]]
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="162520" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-162520" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="162520"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #29"></div>
  </section>
</div>
    <div class="postbit" id="162521" data-post-id="162521">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="jmurphyweb" data-post="30" data-topic="6523">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/j/f19dbf/48.png" class="avatar"> jmurphyweb:</div>
<blockquote>
<p>but incase anyone else has the same issue, just make sure not to run: <code>NimbleCSV.define(NimbleCSV.Spreadsheet, [])</code> at the top of the file.</p>
</blockquote>
</aside>
<p>NimbleCSV already defines the module for you. <code>NimbleCSV.define</code> is only needed if you need a module with custom settings. You basically overrode the predefined module.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="162521" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/can-t-generate-file-csv-with-special-chars/6523/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-162521" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="162521"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>