Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.1
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
Reported by cemer...@snowtide.com, Jun 09, 2009 clojure.core/slurp currently does not accept an encoding to use when reading the content from the provided path. Using the system-default encoding is a very common failure pattern. Attached is a patch which adds an encoding argument to slurp (while retaining the existing behaviour of falling back on the system-default encoding when one is not specified).
Converted from http://www.assembla.com/spaces/clojure/tickets/125
Attachments:
slurp-encoding.patch - https://www.assembla.com/spaces/clojure/documents/byFSiOw4ur3Od2eJe5aVNr/download/byFSiOw4ur3Od2eJe5aVNr