Out of the box, no, I wasn't setting a different encoding, but as a course
of trying to find a solution, I did try multiples. Nothing seemed to affect
the situation, so I went back to the defaults.

I also did play with the getasbinary, but I didn't try 'never'; I actually
tried 'yes', thinking I could decode the binary results into a working
string. I'll try the 'never' option.

On Wed, May 18, 2011 at 10:48 AM, Dave Watts <dwa...@figleaf.com> wrote:

>
> > I'm running into a strange issue here.
> >
> > CF8: (8,0,1,195765)
> > JVM: 1.6.0_16
> > Windows Server 2003
> >
> > We're implementing a resume parsing service, posting the resumes to the
> > service using cfhttp. All was going well until we ran across a handfull
> of
> > our test resumes, all with non-English special characters (accented
> > characters, Greek letters etc). As far as I can tell, all the characters
> are
> > valid utf-8, but the cfhttp call fails with "Connection Failure" in the
> > filecontent on all files containing one of these characters. If I remove
> the
> > offending character, I get the full results.
> >
> > I've also tried saving the result to a file (by passing the file and path
> > params to cfhttp), but the resulting file is getting cut off--but not at
> the
> > offending character, there is plenty of the file content after the
> > character. IIS logs indicate that the server is receiving the full byte
> > count reported by the response headers. It appears that the content is
> > getting cut off somewhere in the JVM or CF processing. Days of google
> > searches have turned up no similar experiences, nor any workable
> solutions.
> >
> > If I retool the call to use MSXML as a COM object, the offending files
> run
> > fine, though they take 20+ seconds longer to process. Such a degradation
> in
> > performance is obviously unacceptable.
> >
> > We're at a loss trying to determine what the root cause of this problem
> is,
> > and the only solution so far increases processing time 10 fold. Has
> anyone
> > seen anything like this before? I'm open to any ideas on getting a
> workable
> > solution to this.
>
> First, you're not specifying a different character set using the
> CHARSET attribute of CFHTTP, right? I assume not, just checking.
>
> Second, you might try fiddling with the GETASBINARY attribute:
> http://tjordahl.blogspot.com/2005/09/rss-cfhttp-utf-8-and-cfmx.html
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344616
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to