changeset 10356:7b358cd956fd

always treat .utf* files as UTF-8
author atlka
date Tue, 01 Jul 2003 09:29:31 +0000
parents b39a943c902f
children 31ec4f475845
files subreader.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}
 	    }