Explorar o código

explicitly set charset

B. Petersen %!s(int64=2) %!d(string=hai) anos
pai
achega
23df8aff33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deltachat-ios/Controller/WebxdcViewController.swift

+ 1 - 1
deltachat-ios/Controller/WebxdcViewController.swift

@@ -354,7 +354,7 @@ extension WebxdcViewController: WKURLSchemeHandler {
                 let lastKnownSerial = Int(url.query ?? "0") ?? 0
                 data = Data(
                     dcContext.getWebxdcStatusUpdates(msgId: messageId, lastKnownSerial: lastKnownSerial).utf8)
-                mimeType = "application/json"
+                mimeType = "application/json; charset=utf-8"
                 statusCode = 200
             } else {
                 let file = url.path