Replacing Special Characters when writing to a file
I am using the following to replace Muñoz (the ñ with null) . It should output as Muoz.
This should be simple but it is not working. 209 and 241 represent the upper and lower case ñ.
This statement is in a CFFILE. I am generating the file but the ñ is still there.
replace(LGL_NM,chr(209)&chr(241),'3','all')
I also tried the following without success:
<cfset x = ReplaceNoCase(#Object_query.LGL_NM#,"#chr(209)#", " ", "all")>
<cfset LGL_NM = ReplaceNoCase(x,"#chr(241)#", " ", "all")>
Please Help.
Thanks!
Bill