title: How to make R's read_csv2() recognise the text characters properly
body: <p>Trying to read a csv file using <code>read_csv2()</code> from <code>readr</code> package.</p>
  <p>The problem is <code>read_csv2()</code> doesn't recognise the characters properly while R's default <code>read.csv2</code> successfully does.</p>
  <p>For example:</p>
  <p>the original value: <code>KOZYATAĞI</code></p>
  <p>how <code>read_csv2()</code> recognises: <code>KOZYATA&lt;'d0'&gt;I</code></p>
  <p>I have checked the help file and also tried below listed coding; however couldn't make it happen.</p>
  <p>1st try: ended up with wrong characters</p>
  <pre><code>my_df &lt;- read_csv2(&quot;my_path/my_file.csv&quot;)
  </code></pre>
  <p>2nd try: manually state the encoding.</p>
  <pre><code>my_df &lt;- read_csv2(&quot;my_path/my_file.csv&quot;, locale(encoding = &quot;UTF-8&quot;))
  
  Error: `col_names` must be TRUE, FALSE or a character vector
  </code></pre>
  <p>3rd try: additions to 2nd try because of the error message above.</p>
  <pre><code>my_df &lt;- read_csv2(&quot;my_path/my_file.csv&quot;, locale(encoding = &quot;UTF-8&quot;), col_names = TRUE, col_types = NULL)
  </code></pre>
  <p>This one doesn't give error but still doesn't recognise the characters properly.</p>
  <p>How to do it? Let me know if any other info needed. Thanks in advance.</p>