bad character encoding rendering in Firefox
Hi, my issue pertains to one particular website character encoding that is rendered okay while displayed in Google Chrome, but not while in Firefox (http://jaspi.justice.gov.sk/) I'm sure you notice the difference even if you're not speaking this language...
Though I'm not in charge of that website, I copied-and-pasted some paragraphs from it to my personal blog at blogger.com, and having trouble viewing that paragraph in Firefox as well...
what's wrong with that character set?
Thanx
การตอบกลับทั้งหมด (7)
Hello,
What problem are we supposed to see on that page? (see attached screenshot)
Can you take a screenshot?
- Press the Print Screen key on the keyboard to copy a screenshot to the clipboard.
- Paste the image into an editor like Paint.
- Save the file in PNG format.
- Below the reply box on this page, click the Browse button below "Add images" to attach the file.
Firefox uses the windows-1250 encoding as shown in Tools > Page Info > General
<html lang ="sk"> <head> <title>Jaspi-web</title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
when opened in Firefox, it does not render š,Š,ž,Ž, characters :) see screenshots
What encoding is used to display those pages?
You can right-click in the frame and use "This Frame > Show Page Info" to check the content type and the encoding.
- Firefox > Web Developer > Character Encoding
- View > Character Encoding
You can also check the font that is used via the right-click context menu ("Inspect Element") in the Inspector (Firefox/Tools > Web Developer).
I see that there is problem when defining font. try to paste this code
<span style="font-family: ms sans serif;">š,Š,ž,Ž</span>
into some w3school editor. in Firefox vs Chrome it renders differently. I don't know why?
See:
Using MS Shell Dlg and MS Shell Dlg 2 (Windows):
jablka wrote:
when opened in Firefox, it does not render š,Š,ž,Ž, characters :)
Seemingly no problems over here, on an English version of Windows (see the two attached screenshots).
You can substitute the MS Sans Serif font on web pages with another:
- Install Stylish.
- Open the Add-ons Manager, either by from the orange Firefox button or the Tools menu on the menu bar.
- Click User Styles on the left.
- On the right, click the Write New Style button.
- Paste the following in the style editor window. Then give the style a name and click the Save button.
@-moz-document url-prefix("http://"), url-prefix("https://") { @font-face { font-family: "MS Sans Serif"; src: local("Arial"); } }
As you can see, the above style uses Arial as a substitute. You might want to try either MS Shell Dlg or MS Shell Dlg 2 — I don't know which would work for you.