# HG changeset patch # User atlka # Date 1057051771 0 # Node ID 7b358cd956fde27e9404e5ba3428f65c7d9e77b7 # Parent b39a943c902f44182bfeabdf230a5e37065ef73c always treat .utf* files as UTF-8 diff -r b39a943c902f -r 7b358cd956fd subreader.c --- a/subreader.c Tue Jul 01 09:26:49 2003 +0000 +++ b/subreader.c Tue Jul 01 09:29:31 2003 +0000 @@ -1180,12 +1180,10 @@ int l,k; k = -1; if ((l=strlen(filename))>4){ - int k; char *exts[] = {".utf", ".utf8", ".utf-8" }; for (k=3;--k>=0;) if (!strcasecmp(filename+(l - strlen(exts[k])), exts[k])){ sub_utf8 = 1; - fprintf(stderr,"UTF-8 detected\n"); break; } }