>- see footer for list info -<
There might be something else dodgy in the string you're parsing.  Run
it through this:

<cfloop index="i" from="1" to="#len(yourString)#">
        <cfset c = mid(yourString, i, 1)>
        <cfset a = asc(c)>
        <cfif xmlFormat(c) neq c>
                <cfset s = ' style="color:red;"'>
        <cfelse>
                <cfset s = ' style="color:green;"'>
        </cfif>
        <cfoutput><div#s#>[#i#][#c#][#a#]</div></cfoutput>
</cfloop>

It's not foolproof, but it'll highlight anything of potential interest.

-- 
Adam
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to