Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

bad character encoding rendering in Firefox

more options

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

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

All Replies (7)

more options

Hello,

What problem are we supposed to see on that page? (see attached screenshot)

Can you take a screenshot?

  1. Press the Print Screen key on the keyboard to copy a screenshot to the clipboard.
  2. Paste the image into an editor like Paint.
  3. Save the file in PNG format.
  4. Below the reply box on this page, click the Browse button below "Add images" to attach the file.

more options

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">
more options

when opened in Firefox, it does not render š,Š,ž,Ž, characters :) see screenshots

more options

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).

more options

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?

more options
more options

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:

  1. Install Stylish.
  2. Open the Add-ons Manager, either by from the orange Firefox button or the Tools menu on the menu bar.
  3. Click User Styles on the left.
  4. On the right, click the Write New Style button.
  5. 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.