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

搜索 | 用户支持

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

详细了解

Dropdown menus in Cyrillic not displaying correct characters when expanded

more options

If I visit this site (in Bulgarian, so in Cyrillic alphabet, UTF8 encoding): https://shop.ilex.bg/index.php?route=product/product&path=17_42&product_id=102

and expand the dropdown menu on the right, the menu items are displayed in gibberish, not in Bulgarian.

Even if they are in Bulgarian when you view source / inspect the <select> in the code. And the currently selected item is displayed as it should as well.

That happens on a number of other sites (another example: https://crash.bg/kompyutri-vtora-raka), but not every site I visit. The problem is present in FF only, Chrome / Edge do not have this problem.

What's even more weird is that if copy the HTML code (the whole <select>) into a personal page on my own site which runs on wordpress, the contents of <select> show as they should.

If I visit this site (in Bulgarian, so in Cyrillic alphabet, UTF8 encoding): https://shop.ilex.bg/index.php?route=product/product&path=17_42&product_id=102 and expand the dropdown menu on the right, the menu items are displayed in gibberish, not in Bulgarian. Even if they are in Bulgarian when you view source / inspect the <select> in the code. And the currently selected item is displayed as it should as well. That happens on a number of other sites (another example: https://crash.bg/kompyutri-vtora-raka), but not every site I visit. The problem is present in FF only, Chrome / Edge do not have this problem. What's even more weird is that if copy the HTML code (the whole <select>) into a personal page on my own site which runs on wordpress, the contents of <select> show as they should.
已附加屏幕截图

所有回复 (3)

more options

It looks like an issue with Helvetica font on your side. Try to reinstall font using this file: (download).

有帮助吗?

more options

So I downloaded that archive which contained 14 OTF files spread around in multiple folders. Installed the fonts to C:\Windows\Fonts\ and restarted the PC, no change.

I did not expect other outcome, considering those fonts in the ZIP have no Cyrillic glyphs.

Did a little more digging using the DevTools and it seems those menus in my two examples above are using Google Fonts - Open Sans and Montserrat.

After a few tests: https://jsbin.com/cebogimiko/1/edit?html,css,output

it seems to me that Firefox does not properly load/use the Google Fonts, even if they seem properly included in the HTML/CSS. The problem is specifically for the dropdown menu, the <select>, because you can see that the font works OK in regular text, the

. Also, Chrome/Edge works perfectly in that jsbin test. So it must be a FF thing.

由Боби Димитров于修改

有帮助吗?

more options

So I downloaded that archive which contained 14 OTF files spread around in multiple folders. Installed the fonts to C:\Windows\Fonts\ and restarted the PC, no change.

I did not expect other outcome, considering those fonts in the ZIP have no Cyrillic glyphs.

Did a little more digging using the DevTools and it seems those menus in my two examples above are using Google Fonts - Open Sans and Montserrat.

After a few tests: https://jsbin.com/cebogimiko/1/edit?html,css,output

it seems to me that Firefox does not properly load/use the Google Fonts, even if they seem properly included in the HTML/CSS. The problem is specifically for the dropdown menu, the <select>, because you can see that the font works OK in regular text, the

. Also, Chrome/Edge works perfectly in that jsbin test. So it must be a FF thing.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题