OSDN Git Service

srt: change format string from "utf8" to "utf-8"
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Aug 2009 22:11:25 +0000 (22:11 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Aug 2009 22:11:25 +0000 (22:11 +0000)
mingw port of libiconv doesn't support "utf8" string

git-svn-id: svn://localhost/HandBrake/trunk@2787 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/decsrtsub.c

index 05fdb76..0fcb1a0 100644 (file)
@@ -261,7 +261,7 @@ static int decsrtInit( hb_work_object_t * w, hb_job_t * job )
 
         hb_deep_log( 3, "SRT Start time %"PRId64", stop time %"PRId64, pv->start_time, pv->stop_time);
 
-        pv->iconv_context = iconv_open( "utf8", pv->subtitle->config.src_codeset );
+        pv->iconv_context = iconv_open( "utf-8", pv->subtitle->config.src_codeset );
 
 
         if( pv->iconv_context == (iconv_t) -1 )