Re: Encoding question..
- --- In email@example.com, "mpcmtechnologies" <WickedLogic@g...> wrote:
> I have a string containing a single \ character. I'm not quite sureNo, it should be "\\". JSON does not use the ` character.
> encoder (a popular one) is giving me `\\\\` ? Shouldn't the correct
> encoding be `\\`?
- On 7/19/05, Douglas Crockford <douglas@...> wrote:
> No, it should be "\\". JSON does not use the ` character.Sorry, I have a value of \ and it is encoding it to \\\\. The
backticks where added to show that that was the value. Sorry for the
Strange, I just tried to generate a test and could not get it to
repeat what I felt was wrong encoding... must have been something in
my code. I'll post a follow up if I am able to reproduce it tomorrow
Thank you for setting up these groups and hosting the json site. It
really is much more fun than xml-rpc.
Matthew P. C. Morley