Characters: Types and Literals

In this lesson, we see character types and literals. Furthermore, we will explore control characters and the use of single quotes and backslash in D.

The character types of D #

There are three D types to represent characters. These characters correspond to the three Unicode encodings mentioned previously: UTF-32, UTF-16, and UTF-8. Copying from the fundamental types lesson:

Get hands-on with 1400+ tech skills courses.