google / google/closure-compiler

Ambiguous error "is this input UTF-8 encoded?"

Open
#3,556 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

I am getting the following error on my project file:
```
shared:ERROR: ERROR - [JSC_READ_ERROR]
Cannot read file C:/Users/jukkaj/AppData/Local/Temp/emscripten_temp_my5mvvsw/a.wasm.o.js:
Failed to read: C:\Users\jukkaj\AppData\Local\Temp\emscripten_temp_my5mvvsw\a.wasm.o.js,
is this input UTF-8 encoded?
```
Does this error mean "the input file should be UTF-8 encoded, otherwise Closure cannot read it", or "UTF-8 files will fail to read, the file should not be UTF-8"?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.