>- see footer for list info -<
Yea, that works - I ran through the word submitted to get all the ascii
numbers for each character. It turns out that 233 is the code for e acute.
If I do a find(chr(233),form.test) then it finds the é.
If I do a find('é',form.test) then it doesn't.
wha? What the hell is going on there?
On Mon, Sep 8, 2008 at 4:34 PM, Big Kev <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
>
> I think you need to use the ASC() Function to get the Decimal Number
> for the Character and then use chr() to turn it back.
>
> If that makes sense
>
> so run a test page with asc('é') and get the value
>
> then place chr(value) where you have é now ;)
>
> HTH
>
> --------------------------------------------------
> Big Mad Kev
> Adobe Community Expert
> email: [EMAIL PROTECTED]
> blog: http://inner-rhythm.co.uk/blog
> --------------------------------------------------
>
>
> 2008/9/8 Rich Wild <[EMAIL PROTECTED]>:
> >>- see footer for list info -<
> > sorry, I lied, its CFMX8, not 7.
> >
> > Its still confusing the hell out of me though.
> >
> > On Mon, Sep 8, 2008 at 4:19 PM, Rich Wild <[EMAIL PROTECTED]> wrote:
> >
> >> it may be because its the end of the day, but I'm very confused.
> >>
> >> I have a form. In the form is a text input. In the text input is the
> >> following word: entrée
> >>
> >> I have an action page, on the action page is the following code:
> >>
> >> <cfif findnocase('é', form.test)>
> >> é character found
> >> <cfelse>
> >> é character not found
> >> </cfif>
> >>
> >> Can anyone tell me why I get "é character not found" when that character
> is
> >> clearly in the word ??
> >>
> >> CFMX7.
> >>
> >> As a possible pointer, I have SetEncoding("form","utf-8"); in my app.cfm
> >>
> >>
> >>
> > _______________________________________________
> >
> > For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
> >
> > --
> > CFDeveloper Sponsors:-
> >>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >>- Lists hosted by www.Gradwell.com -<
> >>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
> -<
> >
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<