json: Improve auto-base64 encoding to not split UTF-8 chars.
authorWerner Koch <wk@gnupg.org>
Wed, 9 May 2018 14:41:05 +0000 (16:41 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 9 May 2018 14:41:05 +0000 (16:41 +0200)
commite54b110aec3165a32ff9551d0c5227b88aa3dd4f
treeda94aff60185d978cd1a74a9df83a1886dfd272a
parente2a8a87bf9cfae5d4e8a5953c2a5303b44feb398
json: Improve auto-base64 encoding to not split UTF-8 chars.

* src/gpgme-json.c (make_data_object): Switch to Base64 also for UTF-8
characters.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/gpgme-json.c