We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

xml response is auto coverting to text format unable to view result

more options

Xml Response is auto matiacally covert as simple text. unable to resolve this issue. This issue from firfox v30. Same service if I check with other browser I can able to see xml response.

Xml Response is auto matiacally covert as simple text. unable to resolve this issue. This issue from firfox v30. Same service if I check with other browser I can able to see xml response.

Všechny odpovědi (2)

more options

Hi yesprakash, Please check the encoding of the page as well as please update to the latest Firefox version 31: Update Firefox to the latest release

Applications panel - Set how Firefox handles different types of files xml can be added here, and how to check the encoding of the page:

  1. Click View > Character encoding and select the right one for xml.

https://developer.mozilla.org/en-US/d.../XML_in_Mozilla

Do you have an xml parser for the xml file? Do you have the header: header( 'Content-Type: text/xml, charset=utf-8' );

I hope this helps.

more options

If you are using XMLHttpRequest, could you provide a link to the page demonstrating this problem? It is difficult to advise on code issues without a test case.