• 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: Webobjects-dev Digest, Vol 6, Issue 831
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webobjects-dev Digest, Vol 6, Issue 831


  • Subject: Re: Webobjects-dev Digest, Vol 6, Issue 831
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Thu, 17 Sep 2009 16:57:55 +0800

Hi Susanne

Glad that it works. I have not noticed there is URLEncoder call in standard java package. The effects, I checked, is the same- that is converting the value into MIME format. Thanks for updating and learn something today :)

Cheers

Cheong Hee

----- Original Message ----- From: "Susanne Schneider" <email@hidden>
To: <email@hidden>; "Cheong Hee (Gmail)" <email@hidden>
Sent: Thursday, September 17, 2009 4:37 PM
Subject: Re: Webobjects-dev Digest, Vol 6, Issue 831



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ünchen"
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   email@hidden
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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Webobjects-dev Digest, Vol 6, Issue 831 (From: Susanne Schneider <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 6, Issue 831
  • Next by Date: Re: Anyone playing with Scala?
  • Previous by thread: Re: Webobjects-dev Digest, Vol 6, Issue 831
  • Next by thread: Special characters blowing up the application when save().
  • Index(es):
    • Date
    • Thread