• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Corrupt XML returned from CFHTTP POST

New Here ,
Feb 02, 2007 Feb 02, 2007

Copy link to clipboard

Copied

I'm performig a simple POST via CFHTTP. I know the XML I'm POSTing is correct;
the target returns valid XML with one exception: when I display the ASCII value for
each character in the returned XML, the first one is consistently 65279. Below are the
first four characters of the XML. 65279 is the only unexpected character. XMLParse( )
fails unless I remove that character. Any ideas would be appreciated.

Pos = 1 : ASC = 65279 :
Pos = 2 : ASC = 60 : <
Pos = 3 : ASC = 70 : F
Pos = 4 : ASC = 105 : i

TOPICS
Advanced techniques

Views

237

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 03, 2007 Feb 03, 2007

Copy link to clipboard

Copied

LATEST
65279 = 0xFE - UTF-16 byte order mark.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation