3 Replies Latest reply: Nov 4, 2014 7:43 AM by Test Screen Name RSS

    UTF8 error in browser

    JoeyCri Community Member

      I have designed a PDF form designed in Livecycle designer. The form has a submit button which invokes a servlet. The servlet receives the request and send a response in "text/html UTF-8". If have no browser or IE open when submitting the form, I receive a response that the form has been either successfully submitted or not. However, if I have Firefox open when Submitting, I get an Adobe Reader dialog box that says "An error occurred during the submit process. Cannot process content of type text/html utf-8".
      When I look in the database, the form is successfully submitted. How do I make the adobe pop up to disappear and print the confirmation.

        • 1. Re: UTF8 error in browser
          pguerett techies

          Acrobat/Reader does not know how to deal with HTML that you are returning. When you run in a browser the browser is getting the response and dealing with it. When you run outside of the browser then the returned message cannot be handled. If you return a PDF file with a mime type of application/pdf it will load for you.

           

          Paul

          • 2. Re: UTF8 error in browser
            HamishAhern Community Member

            Yes today I have a large customer base on IE11 and Reader v11.0.4     this bug is still well and alive kicking in 2014.   I for the life of me can not replicate the error..  but the odd user still emails this in to my support desk every so often....     I have no errors in my server logs, and the same content posted again and again on our dev machines that match can not replicate.... its a tricky one to hunt down... no wonder Adobe engineers have not squashed the bug yet.

             

            Cannot process content of type text/html utf-8

            • 3. Re: UTF8 error in browser
              Test Screen Name CommunityMVP

              The bug seems to be that it ever works. It should not work. Adobe Reader does not know how to process HTML, so you should not be sending it.