alanshaw / alanshaw/grunt-include-replace

Encoding change

Aperta
#76 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
199
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In code encoding is chagne globally for grunt.file. If other task use different encoding it will be overwritten.
In grunt.file functions as second argument we could set object with option encoding. This is better solution than change it globally. Other way is store in local variable grunt.file.defaultEncoding before change it, and restore defalut value at end.

Task default option encoding should be 'utf8' not 'utf-8'

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.