May 1, 2015
10:21 a.m.
Hi Volkert, Tip 1: use ZnClient and inspect the response in detail, more specifically to see whether the response content type specifies the encoding. ZnClient new get: 'http://<removed>/api/atm/801813'; yourself. Tip 2: you could try to force override the default encoding using ZnDefaultCharacterEncoder (see the class comment). But recent Zn code defaults to UTF8 (see #withDefaultUTF8Decoding: and #withDefaultUTF8Encoding:). So I am curious to see the response headers. HTH, Sven
On 01 May 2015, at 11:54, volkert <volkert@komponentenwerkstatt.de> wrote:
Dear all,
i am trying to get a JSON Document with ZnEasy. The Document is UTF-8 encoded.
(ZnEasy get: 'http://<removed>/api/atm/801813') entity string.
<gccacjeh.png>
Any hints?
Volkert