Skip to content

Commit a137b91

Browse files
author
Steve Stein
authored
SQL DB and MI UTF-8 support
Specifically calling out that SQL DB and MI support UTF-8. Resolves issue 66772
1 parent 9afe000 commit a137b91

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/relational-databases/collations/collation-and-unicode-support.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ These collations are supported in [!INCLUDE[ssde_md](../../includes/ssde_md.md)]
576576

577577
UTF-8 is available only to Windows collations that support supplementary characters, as introduced in [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)]. The **nchar** and **nvarchar** data types allow UCS-2 or UTF-16 encoding only, and they remain unchanged.
578578

579+
Azure SQL Database and Azure SQL Managed Instance also support UTF-8.
580+
579581
### <a name="storage_differences"></a> Storage differences between UTF-8 and UTF-16
580582
The Unicode Consortium allocates to each character a unique code point, which is a value in the range 000000–10FFFF. With [!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)], both UTF-8 and UTF-16 encodings are available to represent the full range:
581583
- With UTF-8 encoding, characters in the ASCII range (000000–00007F) require 1 byte, code points 000080–0007FF require 2 bytes, code points 000800–00FFFF require 3 bytes, and code points 0010000–0010FFFF require 4 bytes.
@@ -650,4 +652,4 @@ For more information, see the following related content:
650652
[Contained Database Collations](../../relational-databases/databases/contained-database-collations.md)
651653
[Choose a Language When Creating a Full-Text Index](../../relational-databases/search/choose-a-language-when-creating-a-full-text-index.md)
652654
[sys.fn_helpcollations (Transact-SQL)](../../relational-databases/system-functions/sys-fn-helpcollations-transact-sql.md)
653-
[Single-Byte and Multibyte Character Sets](/cpp/c-runtime-library/single-byte-and-multibyte-character-sets)
655+
[Single-Byte and Multibyte Character Sets](/cpp/c-runtime-library/single-byte-and-multibyte-character-sets)

0 commit comments

Comments
 (0)