Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.2
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
clojure.java.shell/sh was recently updated (changed) to say that it defaults to UTF-8 for both in-enc and out-enc, but it does not do so for in-enc.
On line 122 of the current build:
(with-open [osw (OutputStreamWriter. (.getOutputStream proc) ^String in-enc)]
in-enc is nil by default, but OutputStreamWriter needs to be passed "UTF-8" instead if in-enc is nil. I would add a patch but I still need to submit the CLA.
Converted from http://www.assembla.com/spaces/clojure/tickets/413
Attachments:
413-parse-args-defaults-in-enc-and-out-enc-to-UTF-8.patch - https://www.assembla.com/spaces/clojure/documents/a1Pm9AL2ar351-eJe5cbCb/download/a1Pm9AL2ar351-eJe5cbCb