• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String encoding problem (WSMethodInvocation)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String encoding problem (WSMethodInvocation)


  • Subject: Re: String encoding problem (WSMethodInvocation)
  • From: Nick Toumpelis <email@hidden>
  • Date: Fri, 25 Jan 2008 11:22:40 +0200

I assumed that something like this might be the problem, so I overode the serialization procedure with WSMethodInvocationAddSerializationOverride. And it works (more or less).

It appears that there is an additional bug with the actual encoding itself.

Nick

On 25 Ιαν 2008, at 10:06 ΠΜ, Stéphane Corthésy wrote:

rdar://problems/4792516

Sent on 19-Oct-2006

WebServicesCore: SOAP messages miss charset information in HTTP header

Summary:
HTTP header in HTTP requests generated by WebServicesCore, for kWSSOAPBodyEncodingStyle, miss a 'charset=utf-8' key-value in the content-type header.


Steps to Reproduce:
1) Using WebServicesCore, create a web invocation, with debug information on.
2) Send the invocation, and wait for result.
3) When receiving results, look at the outgoing headers, in the result dictionary.


Expected Results:
The header value for 'content-type' should contain the charset used to encode the body, because body is encoded in UTF-8, and without any information in the header, all receivers will decode body using ISOLatin1 charset.


Actual Results:
If sent body contains non-ASCII characters, body is wrongly decoded using ISOLatin1.



Apple never replied to that bug report. Status is still set to open, though it's 15 months old.

Nick Toumpelis :: Software Developer :: BEng (Wales), MSc (Manchester) Thessaloniki, Greece :: email:email@hidden :: AIM:email@hidden





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: String encoding problem (WSMethodInvocation)
      • From: Nir Soffer <email@hidden>
  • Prev by Date: Re: Counter field as in Mail.app
  • Next by Date: [SOLVED] Re: CAAnimationGroup doesn't do all animations
  • Previous by thread: Re: String encoding problem (WSMethodInvocation)
  • Next by thread: Re: String encoding problem (WSMethodInvocation)
  • Index(es):
    • Date
    • Thread