Hi Roberto,

Never mind latin1. What about BINARY, one of the datatypes explicitly supported by dynamic columns?

If you put a BINARY string into a dynamic column, what should COLUMN_JSON do?

All other JSON encoders I know error on data that cannot be encoded as JSON. But Maria instead returns non-JSON.

Tom

From: Roberto Spadim <roberto@spadim.com.br>
Date: Saturday, January 31, 2015 at 3:48 PM
To: Peter Laursen <peter_laursen@webyog.com>
Cc: Tom Worster <fsb@thefsb.org>, maria-discuss email list <maria-discuss@lists.launchpad.net>
Subject: Re: [Maria-discuss] JSON and binary strings

one "problem" about JSON, it only accept Unicode, be carefull when using latin1 + utf8 + json

http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf

"2 Conformance Conforming
JSON text is a sequence of Unicode code points that strictly conforms to the JSON grammar"