I want to know the version or year from which firefox support charector encoding and decoding?
Please provide details of char encoding in firefox
الحل المُختار
Those are just broken web pages that are not send as real characters, but are escaped.
You can unescape the text with this code in the Web Console (Firefox/Tools > Web Developer)
- http://www.chandigarh.amarujala.com/feature/crime-bureau-chd/chandigarh-rape-87/?page=1
E=document.querySelector(".spl-stryMn > span:nth-child(5) > p:nth-child(1)"); E.innerHTML=unescape(E.innerHTML);
- http://rajasthan.amarujala.com/feature/samachar/sports/sports-special/special-features-on-india-vs-south-africa
E=document.querySelector("#special_story > span:nth-child(4)"); E.innerHTML=unescape(E.innerHTML);
Right-click the text and open the Inspector. Right-click the HTML code in the left pane and use Copy Unique Selector to copy the selector to the clipboard and use it as selector in the above posted JavaScript code.
Read this answer in context 👍 1All Replies (6)
Character Encoding is still supported.
- View > Character Encoding
- Tap the Alt key or press F10 to show the Menu bar.
You can find a Character Encoding button in the Customize palette ("3-bar" Firefox menu button > Customize) that you can drag on a toolbar or in the Firefox menu drop-down list.
It does work differently. You can look here to set a fallback character encoding:
- Tools > Options > Content > Fonts & Colors > Advanced > Character Encoding for Legacy Content
See also:
- Charset Switcher: https://addons.mozilla.org/firefox/addon/charset-switcher/
If you are referring to the link that you posted in the other thread then that is escaped data and send as such by the server. Google Chrome displays it in the same way.
%3Cp%3E%u0915%u094D%u0930%u093F%u0915%u0947%u091F%20%u092A%u094D%u0930%u0936%u0902%u0938%u0915%u094B%u0902%20%u0915%u0947 <p>क्रिकेट प्रशंसकों के लिए जल्द ही बेहद शानदार मुकाबला शुरू
Modified
yes, I know but is there any way to solve this problem to read the content of such type?
I also have another link having the same problem and google chrome also display the same link:- http://www.chandigarh.amarujala.com/feature/crime-bureau-chd/chandigarh-rape-87/?page=1
الحل المُختار
Those are just broken web pages that are not send as real characters, but are escaped.
You can unescape the text with this code in the Web Console (Firefox/Tools > Web Developer)
- http://www.chandigarh.amarujala.com/feature/crime-bureau-chd/chandigarh-rape-87/?page=1
E=document.querySelector(".spl-stryMn > span:nth-child(5) > p:nth-child(1)"); E.innerHTML=unescape(E.innerHTML);
- http://rajasthan.amarujala.com/feature/samachar/sports/sports-special/special-features-on-india-vs-south-africa
E=document.querySelector("#special_story > span:nth-child(4)"); E.innerHTML=unescape(E.innerHTML);
Right-click the text and open the Inspector. Right-click the HTML code in the left pane and use Copy Unique Selector to copy the selector to the clipboard and use it as selector in the above posted JavaScript code.
Thank you