为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

所有回复 (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.