Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

bad character encoding rendering in Firefox

  • 7 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 5 ნახვა
  • ბოლოს გამოეხმაურა Gingerbread Man

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

ყველა პასუხი (7)

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.

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?

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.