Hi WSG folks,

How can I ensure that field values from a "Hebrew" field arrive in a POSTED
CGI string with any spaces on the right (start of Hebrew) field, intact?

I have a HTML <form> that contains a mixture of Hebrew and English fields.

HTML page is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd
">

Hebrew fields are denoted by lang="he" dir="rtl" attributes.

The application works fine and dandy...except that the field values appear
in the CGI string with any spaces trimmed off the right hand end of the
value.

Whilst this is ok for an "English" field's value, trimming spaces of the END
of the field...this is not acceptable for a "Hebrew" field's value.
BECAUSE...spaces on the right hand side are at the START of the Hebrew
field.

So...how can I ensure that field values from a "Hebrew" field arrive in the
CGI string with any spaces on the right/start of Hebrew field, intact?

*** This is how it is passed now:

&_english_field1=hello&_hebrew_field1=שלמ&&_english_field2=
hello&_hebrew_field2=שלמ&mylastfield=dummy


*** This is how I want it to be passed (note the spaces on the right of
_hebrew_field2 ! ):

&_english_field1=hello&_hebrew_field1=שלמ&&_english_field2=
hello&_hebrew_field2=שלמ   &mylastfield=dummy


Cheers,

Simon

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to