summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/patches/utf8_entities.diff
blob: b8600a9dd5f1ce79235db44d5f5c5a19cf407271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- kresources/groupwise/soap/stdsoap2.cpp
+++ kresources/groupwise/soap/stdsoap2.cpp	2004/10/15 12:42:53
@@ -6470,7 +6470,11 @@
       }
 #endif
       if (c & mask)
-      { if (soap_send_raw(soap, s, t - s - 1) || soap_pututf8(soap, (unsigned char)c))
+      {
+        char S[2];
+        S[0] = c;
+        S[1] = 0;
+        if (soap_send_raw(soap, s, t - s - 1) || soap_send(soap, S) )
           return soap->error;
         s = t;
       }