每个浏览器都支持所有unicode吗? [英] Does every browser support all unicode?

查看:313
本文介绍了每个浏览器都支持所有unicode吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过使用Unicode而不是小图像图标来减少HTTP请求的数量.

I want to reduce the number of HTTP-requests by using Unicode instead of small image icons.

我要使用的图标包括✔,►等.

The icons I'd like to use include ✔ ,► ,etc.

有关所有必需字符的完整列表,请参见此处

For a complete list of all required characters, see here

  • 默认情况下,所有浏览器是否都支持这些字符?
  • 如果默认情况下不支持,我可以添加对这些字符的支持吗?
  • 需要哪些CSS和HTML才能以跨浏览器的方式将这些字符添加到网页上?

此外,我正在建立一个使用以下语言的Unicode网站:

Also, I am making a Unicode website that makes use of the following language:

यो भाषामा म वेबसाईट बनाउँदै छु 

  • 是否可以在每种浏览器和每种操作系统上看到这种语言?
  • 如果有可能提供此支持,为此需要哪些CSS和HTML代码?
  • 我需要为此添加网络字体吗?
  • 我可以使用哪些网络字体,以及如何以跨浏览器的方式添加它们?
    • Is it possible to get this language to be seen on every browser and every operating system?
    • If it is possible to provide this support, which CSS and HTML code are required for this?
    • Do I need to include a webfont for this?
    • Which webfonts can I use and how do I add them in a cross-browser way?
    • 推荐答案

      这是 fonts 的问题,而不是浏览器支持.除非浏览器本身存在严重的错误,只要用户安装了要使用的字符的字体,它就应该毫无问题地显示出来.

      This is a problem of fonts, not browser support. Barring serious bugs in a browser itself, as long as the user has a font installed with the character you're trying to use, it should display without issue.

      现在,每个常见操作系统中内置的所有字体中的所有字形的交集,完全是一个不同的问题,而且要回答起来有点困难.

      Now, the intersection of all the glyphs in all the fonts built into every common operating system is a different question entirely and one that's a little more difficult to answer.

      对于小图标,最可靠的解决方案是使用CSS 字体令人敬畏 是一个著名的例子.

      In the case of the small icons, the most reliable solution is to use the CSS @font-face rule to ask the browser to download a particular font. Then you'll know for sure that the user has an appropriate font installed. There are even some fonts designed specifically for this use, with extra icons built in: "Font Awesome" is a well-known example.

      如果是外文,大概是您的听众由能够阅读脚本的人组成,对吗?在这种情况下,几乎可以肯定他们已经支持字体了-其中许多人的整个界面都可能使用相同的语言!

      In the case of foreign text: presumably your audience consists of people who can read the script, right? In that case they almost certainly have font support already—many of them may have their entire interface in the same language!

      这篇关于每个浏览器都支持所有unicode吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆