Re: [AntConc:3601] Newest Antconc could not read my file

268 views
Skip to first unread message

Laurence Anthony

unread,
Sep 10, 2023, 11:30:20 AM9/10/23
to ant...@googlegroups.com
Dear Yanuar,

Here is the explanation of the solution to this problem on the AntConc homepage under the FAQ:

>
When creating my own corpus, I get the following error: "Error: UnicodeDecodeError: 'utf-8' codec can't decode byte XXX in position YYY: invalid start byte". What should I do?
This error is telling you that the file is not properly encoded in the default UTF-8 encoding used by AntConc and so it cannot be read. To address this problem, either resave your file using the UTF-8 encoding (recommended) or change the encoding setting of AntConc to match the encoding of the file (assuming you know what encoding your file is saved in). Many users don't know what encoding they are using which is why I recommend that the files are resaved with the UTF-8 encoding. You should be able to set the encoding in any standard text editor, e.g. NotePad or NotePad++.
>

AntConc 4.2.2 has a Global Settings->Files option where you can ignore the errors. But, I recommend that you use this setting with care, knowing that AntConc may not be processing all your files correctly. I will be updating the FAQ to reflect this new global setting in due course.

image.png

I hope that helps!

Laurence.

###############################################################
Laurence ANTHONY, Ph.D.
Professor of Applied Linguistics
Faculty of Science and Engineering
Waseda University
3-4-1 Okubo, Shinjuku-ku, Tokyo 169-8555, Japan
E-mail: antho...@gmail.com
WWW: http://www.laurenceanthony.net/
###############################################################


On Sun, 10 Sept 2023 at 16:30, Yanuar Wahyu <yanuar...@gmail.com> wrote:
Hi Anthony, 

Im really new with Antconc with Mac. I previously use Windows with Antconc 3.2.4 given by my supervisor. It seems my file can only be read on 3.2.4 version, because it also not working when I use higher version. Currently, I could not find the AntConc 3.2.4 for OS (or maybe I missed newest information). Could you please explain me what is wrong with my data and what further step I could do to fix it? Antconc.png
Here I attached the screenshot for better understanding of the issue. 

--
You received this message because you are subscribed to the Google Groups "AntConc-Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antconc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/antconc/4c55ff06-bfd7-4dad-a57b-7c2837000d65n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages