You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kist, Paul" <pa...@merck.com> on 2004/06/23 22:03:29 UTC

UTF-8 and Encoding Problems

Here's one I haven't seen before:

I have an HTML form with the following input tag:

<input onclick="updateFields(this);" name="select" value="Patient&rsquo;s
Page" type="radio">

The &rsquo; is supposed to translate to this form of the single quote:  '

However this string is being stored in the database, as well as the object
bean, with jumbled up characters.  Somewhere in the submit, the integrity of
this character is being lost.

I made some debug statements in the flowscript that handles the submit and
this is the value of that radio button if it is selected:

"PatientĪ“??s Page"

I tried also changing the &rsquo; to the actual character itself, and the
hex representation, but the same result happens.    Has anyone seen anything
like this and would know what is happening?

-Paul


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org