ArticleslgStudy

science

Popularity of text encodings

Popularity of text encodings is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Popularity of text encodings rather than just read about it. In short: A number of text encodings have historically been used for storing text on the World Wide Web, though by now UTF-8 is dominant, with all languages at 95% use or higher by some estimates. The same encodings are used in local files (or databases), in fact many more, at least historically.

Popularity of text encodings — main illustration
Popularity of text encodings — illustration

Key takeaways

  • Popularity of text encodings belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Popularity of text encodings to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Popularity of text encodings from memory before moving on to harder problems.

Reference excerpt

A number of text encodings have historically been used for storing text on the World Wide Web, though by now UTF-8 is dominant, with all languages at 95% use or higher by some estimates. The same encodings are used in local files (or databases), in fact many more, at least historically. Measuring the prevalence of each are not possible, because of privacy reasons (e.g. for local files, not web accessible), but rather accurate estimates are available for public web sites, and statistics may (or may not accurately) reflect use in local files. Attempts at measuring encoding popularity may utilize counts of numbers of (web) documents, or counts weighed by actual use or visibility of those documents. The decision to use any one encoding may depend on the language used for the documents, or the locale that is the source of the document, or the purpose of the document. Text may be ambiguous as to what encoding it is in, for instance pure ASCII text is valid ASCII or ISO-8859-1 or CP1252 or UTF-8. Tags may indicate a document encoding, but when this is incorrect this may be silently corrected by display software (for instance the HTML specification says that the tag for ISO-8859-1 should be treated as CP1252), so counts of tags may not be accurate.

Popularity on the World Wide Web

UTF-8 has been the most common encoding for the World Wide Web since 2008. As of November 2026, UTF-8 is used by 91.7% of static web pages and Windows-1252 is effectively used by the rest or about 8.3% (this contrast a lot with only 1.0% effectively using for all pages, i.e. dynamic pages, that or way more numerous, and may include static sub-pages). For all web pages, i.e. dynamic pages (what will be used for following stats), 99.1% of surveyed web sites use UTF-8 (and 99.6% of top 1,000 pages), the next-most popular encoding, ISO-8859-1, is used by 0.8%. Although many pages only use ASCII characters to display content, very few websites now declare their encoding to only be ASCII instead of UTF-8. All countries (and over 97% all of the tracked languages) have at least 96% use of the UTF-8 encoding on the web. See below for the major alternative encodings: The second-most popular encoding varies depending on locale, and is typically more efficient for the associated language. One such encoding is the Chinese GB 18030 standard, which is a full Unicode Transformation Format, still 97.0% of websites in China and territories use UTF-8 with it (effectively) the next popular encoding. Big5 is another popular non-UTF encoding meant for traditional Chinese characters (though GB 18030 works for those too, is a full UTF), and is next-most popular in Taiwan after UTF-8 at 97.5%, and it's also second-most used in Hong Kong, while there as elsewhere, UTF-8 is even more dominant at 98.7%. The single-byte Windows-1251 is twice as efficient for the Cyrillic script and still 97.5% of Russian websites use UTF-8 (however e.g. Greek and Hebrew encodings are also twice as efficient, and UTF-8 has over 99% use for those languages). Korean, Chinese and Japanese language websites also have relatively high non-UTF-8 use compared to most other countries, with Japanese UTF-8 use at 99.3% the rest use the legacy EUC-JP and/or Shift JIS (actually decoded as its superset Windows-31J) encodings that both are used about as much. South Korea has 96.6% UTF-8 use, with the rest of websites mainly using EUC-KR which is more efficient for Korean text.

Popularity for local text files Local storage on computers has considerably more use of "legacy" single-byte encodings than on the web. Attempts to update to UTF-8 have been blocked by editors that do not display or write UTF-8 unless the first character in a file is a byte order mark, making it impossible for other software to use UTF-8 without being rewritten to ignore the byte order mark on input and add it on output. UTF-16 files are also fairly common on Windows, but not in other systems.

Popularity internally in software In the memory of a computer program, usage of UTF-16 is very common, particularly in Windows but also cross-platform languages and libraries such as JavaScript, Python, and Qt. Compatibility with the Windows API is a major reason for this. Non-Windows libraries written in the early days of Unicode also tend to use UTF-16, such as International Components for Unicode. At one time it was believed by many (and is still believed today by some) that having fixed-size code units offers computational advantages, which led many systems, in particular Windows, to use the fixed-size UCS-2 with two bytes per character. This is false: strings are almost never randomly accessed, and sequential access is the same speed in both variable- and fixed-size encodings. In addition, even UCS-2 was not "fixed size" if combining characters are considered, and when Unicode exceeded 65536 code points it had to be replaced with the non-fixed-sized UTF-16 anyway. Recently it has become clear that the overhead of translating from/to UTF-8 on input and output, and dealing with potential encoding errors in the input UTF-8, overwhelms any benefits UTF-16 could offer. So newer software systems are starting to use UTF-8. The default string primitive used in newer programing languages, such as Go, Julia, Rust and Swift 5, assume UTF-8 encoding. PyPy also uses UTF-8 for its strings, and Python is looking into storing all strings in UTF-8. Microsoft now recommends the use of UTF-8 for applications using the Windows API, while continuing to maintain a legacy "Unicode" (meaning UTF-16) interface.

References

Illustrations

Popularity of text encodings: Declared character set for the 10 million most popular websites from 2010 to 2021
Declared character set for the 10 million most popular websites from 2010 to 2021

Worked examples

Example 1 — a first encounter with Popularity of text encodings

Start with the simplest possible case. Write down what Popularity of text encodings claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Popularity of text encodings before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Popularity of text encodings ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Popularity of text encodings

In research
Popularity of text encodings appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Popularity of text encodings in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Popularity of text encodings is common in secondary-school and first-year university syllabi. It links to neighbouring topics Character encoding, Character sets, Unicode Transformation Formats, so understanding it makes those chapters shorter.
In everyday life
Look for Popularity of text encodings outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Popularity of text encodings” →

How to study Popularity of text encodings in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Popularity of text encodings means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Popularity of text encodings out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Popularity of text encodings in simple terms?

A number of text encodings have historically been used for storing text on the World Wide Web, though by now UTF-8 is dominant, with all languages at 95% use or higher by some estimates. The same encodings are used in local files (or databases), in fact many more, at least historically.

Why does Popularity of text encodings matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Popularity of text encodings?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Popularity of text encodings.

Tags

  • Character encoding
  • Character sets
  • Unicode Transformation Formats

Keep exploring