Hi Cheong,

many thanks for your suggestion. I followed your path and encode the url parts manually by using URLEncoder.encode("München", "UTF-8") before setting into the WORedirect component. To be sure I use URLDecoder in the other application to get my values back although this seems to be unnecessary. Maybe it is a bug in WORedirect that the encoding is not done the same way as the decoding? At least I havn't found a way to set the wanted charset for this.

Anyway my problem is solved at the moment. Thanks again!
Susanne

Not sure if this could be of help. I suggest an alternative way that is not related to encoding. It may be possible to use Base64 encoding to convert "München" to a proper serialize printable string. In this case, you may avoid the encoding problem passing through url. This is just my idea and probably need to test it out if it works as expected.

Cheers

Cheong Hee

Problem:
If I add the name "München" to the url, the result is not encoded in
UTF-8 but seems to be encoded in ISO-8859-15. The redirect url (part) is:
"pidForm?token=90sEQBeHA33FlDLpALGqf0_0IAS&group=M%FCnchen"
Logging or display from the extracting direct action is: "M�nchen"

So, could anybody give me a hint where the set url is encoded into bytes
or how to set or retrieve it in the wanted encoding? In the rest of the
application the encoding seems to be ok, all pages are set to UTF-8 and
the normal form value handling has been no problem so far.

It is a bit frustrating to know what the problem is, but not to know
where and how to fix it.


--
Susanne Schneider
Coordinator secuTrial Development

iAS interActive Systems GmbH
Dieffenbachstraße 33 c, D-10967 Berlin

fon    +49(0)30 22 50 50 - 498
fax    +49(0)30 22 50 50 - 451
mail   susanne.schnei...@interactive-systems.de
web    http://www.interActive-Systems.de

----------------------------------------------------
Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B
----------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to