Hi Stu, > Too late :-). I have already committed (r659) -- take a look and see > if you are happy with the changes I made. > Stu
Thanks -- looks great to me. One remark: how about returning a map from read-properties (by wrapping the body with (into {} <body>) )? I know you can just destructure the Properties object, but it seems most transparent to get the Properties' pairs into a Clojure map as soon as possible. Your call. & hi Stuart, > By the way, recent versions of duck-streams assume UTF-8 unless you > rebind *default-encoding*. > -Stuart S. Indeed -- I'm grateful for it! The tricky bit about Properties is that Java always reads & writes them as ISO-8859-1. In 1.6, you can read & write Properties to file with Readers & Writers, in which case duck- streams would've been ideal; as you say, enoding could've been controlled through binding *default-encoding*. The extra control there would be nice, but it's certainly not a reason to change Clojure's JVM dependency... Best, Perry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---