oh that will be fun, doing that on every form field -----Original Message----- From: Douglas Humphris [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 14:52 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] character conversion - solution
Yeeeeeesssssssssssssssssssss, it works! Genius. Cheers Justin. -----Original Message----- From: Justin MacCarthy [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 14:35 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] character conversion - solution Try this i18n.cfm <form action="i18n_action.cfm" method="post"> Enter International Data Here:<input name="text1" type='text' size="20" maxlength="50"><br> <input name="submit" type='submit' value="submit"> </form> i18n_action.cfm <cfset setEncoding("FORM", "utf-8")> <cfoutput> Form data was: #form.text1# </cfoutput> Justin > -----Original Message----- > From: Mark Smyth [mailto:[EMAIL PROTECTED]] > Sent: 28 August 2002 14:05 > To: '[EMAIL PROTECTED]' > Subject: RE: [ cf-dev ] character conversion > > > isn't this that W2K bug again? > > -----Original Message----- > From: Douglas Humphris [mailto:[EMAIL PROTECTED]] > Sent: 28 August 2002 13:40 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] character conversion > > > I changed the encoding from UTF-8 to Western European (Windows or ISO) and > got: > > �f�'�'¬ �f�'�'£ > > from the input: � � > > which is even worse... > D > > -----Original Message----- > From: Paddy McKay [mailto:[EMAIL PROTECTED]] > Sent: 28 August 2002 13:10 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] character conversion > > > I have a similar problem with pund signs being displayed as > Hashes, but have > traced this down to being Explorer 5+ on Win2K. Check the source > of the HTML > and see what is being output. > > If you change the encoding in Explorer (View - Encoding - Western European > (Windows)), does this make a difference? > > My only fix for this is to replace � with &pund; in CF. > > > > paddy > > > ----- Original Message ----- > From: "Russ 'Snake' Michaels" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 28, 2002 12:55 PM > Subject: RE: [ cf-dev ] character conversion > > > > It happens on CF5 for me. > > > > > > -----Original Message----- > > From: Douglas Humphris [mailto:[EMAIL PROTECTED]] > > Sent: 28 August 2002 12:51 > > To: [EMAIL PROTECTED] > > Subject: RE: [ cf-dev ] character conversion > > > > > > Here are the results of your test using my CFMX server: > > > > $%�?£ > > £10million > > > > looks like I might have found a CFMX bug! > > > > -----Original Message----- > > From: Justin MacCarthy [mailto:[EMAIL PROTECTED]] > > Sent: 28 August 2002 12:47 > > To: [EMAIL PROTECTED] > > Subject: RE: [ cf-dev ] character conversion > > > > > > Hi what version of CF? > > > > This works fine for me in CF5 > > > > > > step1.cfm > > ------------------ > > <form action="step2.cfm" method="post"> > > <input type="Text" name="x1" size="30" value="$%�"> > > <input type="submit" value="post"> > > </form> > > > > > > step2.cfm > > ------------------ > > <cfoutput> > > <form action="step3.cfm" method="post"> > > <input type="hidden" value="#form.x1#" name="x1"> > > <input type="text" value="" name="x2"> > > <input type="submit" value="post"> > > </form> > > </cfoutput> > > > > step3.cfm > > ------------------ > > <cfoutput> > > #form.x1#<br> > > #form.x2#<br> > > </cfoutput> > > > > Are you using a DB at all? > > > > > > Regards > > Justin > > > > > > > -----Original Message----- > > > From: Douglas Humphris [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, August 28, 2002 12:31 PM > > > To: [EMAIL PROTECTED] > > > Subject: [ cf-dev ] character conversion > > > > > > > > > this feels like a stupid question with an obvious answer...but > > > I'm submitting form data which includes a pound sign. The next > > > page displays the form data, but when it outputs the pound sign, > > > it outputs a funny character ("A" with "~" above it) just before > > > the pound sign. The logic of this app will mean that the form > > > data may well be passed to several pages through form fields, and > > > each time, the pound sign picks up an extra funny character. > > > > > > So even if I start by inputting £ (which I don't want my > > > client to have to do), the pound sign is converted in the first > > > form submission and then the second submission prepends it with > > > the funny character. > > > > > > Is there any way to stop this from happenning, please? And not > > > just for pound signs, but for all non-alphanumeric characters. > > > > > > Thanks, > > > > > > Douglas > > > > > > -- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
