Thanks for both suggestions guys, and yes - I'm using prn-str - apparently the wrong one. It's a trivial change so I will start there.
Thanks again, appreciate it. Andy On Tuesday, November 25, 2014 2:00:44 PM UTC, James Reeves wrote: > > On 25 November 2014 at 12:23, Andy Dwelly <[email protected] > <javascript:>> wrote: > >> I've recently been serialising some data using Edn, and to date this has >> caused no problems. During some tests today, I serialised a string >> representing a file path that originated on a windows machine "\My >> Documents\somedoc.txt". Edn throws a runtime exception when reading this >> back claiming: >> >> java.lang.RuntimeException: Unsupported escape character: \M >> > > How are you serialising the data? If you serialise the string with pr-str, > backslashes should be automatically escaped. > > - James > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
