-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals
By :

Text characters can be represented in different ways. For example, the alphabet can be encoded using Morse code into a series of dots and dashes for transmission over a telegraph line.In a similar way, text inside a computer is stored as bits (ones and zeros) representing a code point within a code space. Most code points represent a single character, but they can also have other meanings like formatting.For example, ASCII has a code space with 128 code points. .NET uses a standard called Unicode to encode text internally. Unicode has more than 1 million code points.Sometimes, you will need to move text outside .NET for use by systems that do not use Unicode or a variation of it, so it is important to learn how to convert between encodings.Some common text encodings used by computers are shown in Table 9.6:
Encoding | Description |
ASCII | This encodes a limited range of characters using the lower seven bits of a byte. |
UTF-8 | This represents each Unicode code... |