is AE::MP usage of JSON::XS utf8 by default?

Marc Lehmann schmorp at schmorp.de
Thu Sep 1 06:07:20 CEST 2011


On Wed, Aug 31, 2011 at 08:48:39PM -0700, gleeco <gleeco at gmail.com> wrote:
> thanks in advance!

I guess what you want to know is whether the transport encodes json as utf-8,
and the answer to that would be yes.

Are you trying to implement the protocol yourself or why the question? In
that case, if all you want to do is interface with some node in another
language, note that you can define your own framing, for example, binary
length-prefixed strings, by defining your own framing format (for example,
one using pack "N/(N/a*)" or so) as AnyEvent::Handle type and specifying
this type as one of the framing_format's in the node config.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list