• 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: WebService with iso-8859-1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebService with iso-8859-1


  • Subject: Re: WebService with iso-8859-1
  • From: Pierre Frisch <email@hidden>
  • Date: Mon, 9 Feb 2004 06:15:15 -0800

Hi Ute,

I think you are going in the wrong direction. Java is UTF-8 internally
and the default recommended encoding for WebServices is UTF-8. Can you
explain a bit more what you error is and what you are doing. I am use
WebServices with WO and international characters without problems. Are

There was a long discussion just before new year on the topic of UTF-8
encoding and MySQL. When debugging those issue keep in mind that the
console in Xcode does not always represent correctly UTF-8 characters
(see the discussion). Gino Paciti had a similar configuration to yours
and the problem turned out to be MySQL and not the String encoding
anywhere else. I do not know how he solved it. May be you can use
another databse we use Frontbase very successfully as it is UTF-8
native.

Pierre


On Feb 9, 2004, at 1:52, Ute Hoffmann wrote:

> Hi,
> I would like to trasfer my webservice contents in iso-latin 1 in place
> of unicode to preserve my german umlaute.
>
> 1. How can I change the encoding info in the wsdl document to <?xml
> version="1.0" encoding="ISO-8859-1"?>? I tried to edit the .wsdd-files,
> but this had no effect on the generated wsdl-file.
>
> 2. With utf-8 encoding I get an UTFEncodingException  when I invoke the
> webservice when the returned content has special characters in.
>
> There must be a way either to have webservices in WO running and not
> using utf-8 as the encodimg or to parse the iso-latin data from the
> database correctly to utf-8 via java and parse it back again in the
> receiver via java without an exception.
>
> My database is Mysql. The encoding of the database is set to:
> capitalizeTypeNames=true&useUnicode=true&characterEncoding=ISO-8859-1
>
> Thanks for some hints.
>
> Regards,
> Ute
>
On Feb 9, 2004, at 2:17, Christian Mittendorf wrote:

> On 09.02.2004, at 10:52, Ute Hoffmann wrote:
>
>> The encoding of the database is set to:
>> capitalizeTypeNames=true&useUnicode=true&characterEncoding=ISO-8859-1
>
> One question about using a database connection: From my understanding
> all strings retrieved from the db are afterwards in default UTF-8
> encoding.
> Is this assumption right? Internally, after being retrieved from the
> db,
> all strings are UTF-8, aren't they?
>
> @Ute: Have you tried to debug your app and watch your strings read from
> the db? Some simple logger.debug() may help. Are those strings perhaps
> already in the wrong encoding?
>
> cu
> cm

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: WebService with iso-8859-1 (probably solved)
      • From: Ute Hoffmann <email@hidden>
References: 
 >WebService with iso-8859-1 (From: Ute Hoffmann <email@hidden>)
 >Re: WebService with iso-8859-1 (From: Christian Mittendorf <email@hidden>)

  • Prev by Date: line number for the java Editor
  • Next by Date: Re: line number for the java Editor
  • Previous by thread: Re: WebService with iso-8859-1
  • Next by thread: Re: WebService with iso-8859-1 (probably solved)
  • Index(es):
    • Date
    • Thread