in reply to Simple binary data to JS string literal converter

Would Lehman's JSON::XS module work? Any advantages or drawbacks over yours?

  • Comment on Re: Simple binary data to JS string literal converter

Replies are listed 'Best First'.
Re^2: Simple binary data to JS string literal converter
by blazar (Canon) on Sep 16, 2008 at 15:22 UTC

    I personally believe that judging from its description (I only gave a glance to it) it would indeed work: I saw UTF-8 mentioned and I hope it's customizable, because I clearly need to work on a byte oriented string instead. However an obvious advantage of the module over my poor piece of code is that the former is reasonably tested and thus more likely to be correct: as I already wrote I didn't use a module mainly out of not having thought of doing so...

    --
    If you can't understand the incipit, then please check the IPB Campaign.