Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Javascript source encoding for JSHintTask #161

Open
svedin opened this issue May 15, 2018 · 0 comments
Open

Javascript source encoding for JSHintTask #161

svedin opened this issue May 15, 2018 · 0 comments

Comments

@svedin
Copy link

svedin commented May 15, 2018

It seems that javascript files are always read with the system encoding. It would be nice if i where able to specify the encoding so my build doesn't depend on the locale of the system it's running on.

As far as i can tell the file is read in jshint-rhino-2.4.3.js on row 13723
var input = readFile(name);
where readFile can take a second argument to specify a character coding.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant