|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Encoding problem..I think
Im pulling an attribute from an XML doc, which is a regexp. The regexp is then used on CFHTTP.filecontent, in order to parse out specfic links from a web page.
I know the regexp works as i have tested it but when I use it on the CFHTTP.filecontent it returns a list of numbers and not links. I have changed all < > " to < gt& and quot; but I still think its something to do with the encoding. Can anyone offer any advice? |
|
#2
|
|||
|
|||
|
I'm not following. Is the problem that you are not getting the regex out of the XML correctly? Or that once you have the regex it isn't working correctly on the cfhttp.fileContent? I'm not sure what else to tell you except trial and error. If you're worried about encoding you could try running the fileContent through urlDecode() to make sure there are no escaped characters...
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Encoding problem..I think |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|