It's not a bug, but a design decision based on the fact that encoding
is so easy to screw up.  I'd accept a patch that made it optional.

-S


On Thu, Oct 28, 2010 at 11:02 AM, Alex Ott <alex...@gmail.com> wrote:
> Hello all
>
> I switched from org.danlarkin/clojure-json library to
> clojure.contrib.json, and found that all non-ascii characters are encoded
> as \uXXXX characters.  But information on json.org states that character
> could be "any-Unicode-character-except-"-or-\-or-control-character"
>
> So, it seems that this is a bug in clojure.contrib.json... And this lead to
> increased traffic when transferring text with non-ascii characters. Should
> I create a bug for this case (and provide patch)?
>
> --
> With best wishes, Alex Ott, MBA
> http://alexott.blogspot.com/        http://alexott.net/
> http://alexott-ru.blogspot.com/
> Skype: alex.ott
>

-- 
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

Reply via email to