[Kolab-devel] Closing Call: KEP #9

Aleksander Machniak machniak at kolabsys.com
Fri Sep 2 09:52:11 CEST 2011

On 02.09.2011 09:11, Gunnar Wrobel wrote:

> 1) /vendor/kolab/activesync: base64 encoded JSON serialization
> 2) /vendor/horde/share-params: base64 encoded PHP serialization

While JSON format allows unicode characters in the object, PHP's
json_encode() encodes non-ascii characters to entities (\uXXXX). So, the
question is, do we need to "encapsulate" it with base64 here?

Anyway, It's trivial to recognize if a string is in base64 or json format.

Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl

More information about the format mailing list