We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de3a603 commit d2e4424Copy full SHA for d2e4424
1 file changed
src/main/clojure/cljs/closure.clj
@@ -114,7 +114,7 @@
114
(SourceFile/fromCode name source))
115
116
(defmethod js-source-file File [_ ^File source]
117
- (SourceFile/fromFile source))
+ (SourceFile/fromPath (.toPath source) StandardCharsets/UTF_8))
118
119
(defmethod js-source-file BufferedInputStream [^String name ^BufferedInputStream source]
120
(SourceFile/fromInputStream name source))
0 commit comments