<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><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></div></div></body></html>