跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

OKCCN - XenForo & IPS Plugin Marketplace

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。
  • 选择语言

HTML Encoding (Character Sets)

推荐的帖子

  • 行政经理

HTML Encoding (Character Sets)

The HTML charset Attribute

To display an HTML page correctly, a web browser must know which character set to use.

The character set is specified in the <meta> tag:

<meta charset="UTF-8">

The HTML specification encourages web developers to use the UTF-8 character set.

UTF-8 covers almost all of the characters and symbols in the world!

Unicode Web growth

Learn More:

Full UTF-8 Reference


The ASCII Character Set

ASCII was the first character encoding standard for the web.

It defined 128 different latin characters that could be used on the internet:

  • English letters (a-z and A-Z)
  • Numbers (0-9)
  • Some special characters: ! $ + - ( ) @ < > . # ?

The ANSI Character Set

ANSI (Windows-1252) was the first Windows character set:

  • Identical to ASCII for the first 127 characters
  • Special characters from 128 to 159
  • Identical to UTF-8 from 160 to 255
<meta charset="Windows-1252">

The ISO-8859-1 Character Set

The default character set for HTML 4 was ISO-8859-1.

It supported 256 characters:

  • Identical to ASCII for the first 127 characters
  • Does not use the characters from 128 to 159
  • Identical to ANSI and UTF-8 from 160 to 255

HTML 4 Example

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">

HTML 5 Example

<meta charset="ISO-8859-1">

The UTF-8 Character Set

  • Identical to ASCII for the values from 0 to 127
  • Does not use the characters from 128 to 159
  • Identical to ANSI and 8859-1 from 160 to 255
  • Continues from the value 256 to 10 000 characters
<meta charset="UTF-8">

Learn More:

Full UTF-8 Reference



HTML UTF-8 Characters

Basic Latin

ABCD abcd 0123 ?#$%

Latin Extended A

ĀĂĄ ĆĈĊ ĒĔĖĘ

Latin Extended B

ƀƁƂƃƄƅ ƆƇƈ ƉƊƋƌ

Latin Extended C

ⱠⱡⱢ ⱣⱤ ⱥⱦ ⱧⱨⱩ

Latin Extended D

Ꜧꜧ ꜨꜩꜪꜫ ꜬꜭꜮꜯ

Latin Extended E

ꬰꬱ ꬲꬳꬴ ꬵꬶ ꬷꬸꬹ

IPA Extentions

ɖɜɣ ɘɫɛ ɱɷɞ

Spacing Modifiers

pʰ pʱ pʲ pʳ

Diacritical Marks

àáâã èéêẽ òóôõ

General Punctuation

‰ ‱ ⁒ ‼ ⁇ ⁈ ⁉ ⁎ ⁑ ⁂

Super and Subscript

C⁰ Cⁱ C⁴ C⁵ C₆ C₇ C₈

Braille

⠓⠑⠇⠇⠕ ⠺⠕⠗⠇⠙

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…

帐户

导航

搜索

搜索

配置浏览器推送通知

Chrome (安卓)
  1. 轻敲地址栏旁的锁形图标。
  2. 轻敲权限 → 通知。
  3. 调整你的偏好。
Chrome (台式电脑)
  1. 点击地址栏中的挂锁图标。
  2. 选择网站设置。
  3. 找到通知选项并调整你的偏好。