M
M
Maxim2018-10-03 05:51:09
gulp.js
Maxim, 2018-10-03 05:51:09

How to set Russian encoding in gulp build-html?

I start to collect 2 html into one, but if there were Russian characters in the included html, then they turn into squares in the output file, but in the main file everything is fine, they remain as they were

gulp.task('build-html' , function(){
    return gulp.src("app/1/**/*.html")
        .pipe(gih({
            'public':"app/1",
            //'version':version,
            //baseDir:'/app/Html-init',			
        }))
        .pipe(gulp.dest("dest"));
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question