On 25 November 2014 at 12:23, Andy Dwelly <andydwe...@gmail.com> 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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to