<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Ok, can you file as a feature request
      please.  Thanks.<br>
      <br>
      Matthew<br>
      <br>
      On 14/09/13 21:47, MICHELE DE MEO wrote:<br>
    </div>
    <blockquote
cite="mid:CAOfgy=nPnaHW9-QFohhDiNM7afdrLRduTN_C-YWjb4D84dPj2w@mail.gmail.com"
      type="cite">
      <p dir="ltr">I think it could be very useful the possibility to
        specify the encoding, as when you use the function 'file' with
        read.table .</p>
      <p dir="ltr">Michele</p>
      <div class="gmail_quote">Il giorno 14/set/2013 22:33, "Matthew
        Dowle" <<a moz-do-not-send="true"
          href="mailto:mdowle@mdowle.plus.com">mdowle@mdowle.plus.com</a>>
        ha scritto:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div><br>
              Sorry again - nope hadn't given UTF-8 any thought.<br>
              <br>
              Matthew<br>
              <br>
              On 14/09/13 20:57, Harish wrote:<br>
            </div>
            <blockquote type="cite">
              <div style="font-size:12pt;font-family:times new roman,new
                york,times,serif">
                <div>Does fread() support UTF-8?  I got a text file that
                  is mostly Latin-1 characters but encoded as UTF-8. 
                  When I load the data, the first column name has a few
                  extra characters in the beginning ("id"), but I do
                  not get this when I convert the same file to ANSI
                  format using Windows Notepad.</div>
                <div><br>
                </div>
                <div>I am guessing that UTF-8 encoding puts a few extra
                  characters in the beginning of the text file to
                  indicate that it is an UTF-8 encoding, and fread() is
                  reading that literally as the first column name.</div>
                <div><br>
                </div>
                <div>Thanks for the clarification.</div>
                <div><br>
                </div>
                <div>Regards,</div>
                <div>Harish</div>
              </div>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
datatable-help mailing list
<a moz-do-not-send="true" href="mailto:datatable-help@lists.r-forge.r-project.org" target="_blank">datatable-help@lists.r-forge.r-project.org</a>
<a moz-do-not-send="true" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a></pre>
            </blockquote>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          datatable-help mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:datatable-help@lists.r-forge.r-project.org">datatable-help@lists.r-forge.r-project.org</a><br>
          <a moz-do-not-send="true"
href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help"
            target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>