bowbahdoe / edn-format

Rust implementation of the EDN data format
MIT License
21 stars 3 forks source link

Chars are not printed with a leading backslash #4

Closed skyrod-vactai closed 1 year ago

skyrod-vactai commented 1 year ago

From the edn spec:

Characters are preceded by a backslash: \c, \newline, \return, \space and \tab yield the corresponding characters. Unicode characters are represented with \uNNNN as in Java. Backslash cannot be followed by whitespace

But if I print the Character "c", I just get "c", not "\c".