Always UTF-8 encoding for JSON?

Hi there,

Does the EventStore always assume UTF-8 encoding for JSON format?

The ‘EventData’ structure (.NET API) has a boolean flag ‘IsJson’ and byte arrays for ‘Data’ and ‘Meta’ - If I encode the data/meta with some weird encoding, how does the EventStore handle this?

Cheers,

Michael

It only matters if you want to use projections.

OK, but does the projection code then assume UTF-8 encoding for JSON?

yes it assumes utf-8 when deserializing json into v8 objects