DEV Community

Paweł bbkr Pabian
Paweł bbkr Pabian

Posted on • Edited on

2

Unicode vs UTF

Hi and welcome to the series that will explain various aspects of UTF encoding.

Let's start with common misconception: Unicode and UTF. Many people use those terms interchangeably and say that "This text has Unicode encoding". However these are not synonyms.

Unicode is a consortium. Non-profit corporation devoted to developing, maintaining, and promoting software internationalization standards and data. Here is their logo:

Unicode consortium logo

They created and maintain Unicode standard, which catalogues all characters used worldwide. Current version 15.0 contains 149 186 characters.

UTF stands for Unicode Transformation Format and it is the technical implementation of Unicode standard. Tells how to represent all those catalogued characters as bytes. It has UTF-8, UTF-16 and UTF-32 variants (which will be explained later). But also less common encodings like BOCU and SCSU implement the same standard but are binary incompatible with UTF.

So if you refer to specific byte representation of a text (like a document on a disk or variable in a memory) you should say precisely "This text has UTF-8 encoding".

Coming up next: Madness before UTF - a short history lesson about dark times.

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay