I agree that the encoding is the likely culprit, but we're calling a 3rd party service and can't control what they're sending us. Their response to our inquiry was that they are sending utf-8 encoded responses.
Outside of calling this 3rd party service, I've been unable to duplicate the problem, so I don't have a link I can post. Thanks for the ideas, suggestions and trains of thought, everyone. Looks like we're stuck with our inelegant try-catch solution. I was hoping to squeeze quite a bit more efficiency out of this. On Thu, May 19, 2011 at 11:54 AM, Andrei Kondrashev <adiab...@cs.com> wrote: > > >Andrei, one of my coworkers had much the same thought. The headers are > >reporting utf-8, and I've created a test document containing an omega > >character I've saved as plain text utf-8 encoded and it still truncates. > > Just created a text file that contains the entire Greek alphabet plus crazy > Scandinavian characters using Character Map and save it locally in UTF-8 > (notepad). Everything works, as it should be. I am 99% sure that your > problem relates to charset encoding/decoding. I have CF8 here. > > If you post an actual URL that causes a truncation, it could help. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:344754 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm