| title | UTF-16 Support in OLE DB Driver for SQL Server| Microsoft Docs | |
|---|---|---|
| description | Learn about UTF-16 support in OLE DB Driver for SQL Server and when it adds a high surrogate code point to the buffer. | |
| author | David-Engel | |
| ms.author | davidengel | |
| ms.date | 06/12/2018 | |
| ms.service | sql | |
| ms.subservice | connectivity | |
| ms.topic | reference | |
| ms.custom |
|
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics PDW FabricSQLDB]
[!INCLUDEDriver_OLEDB_Download]
Beginning in [!INCLUDEssSQL11], if you supply a fixed-length buffer when binding a column result or output parameter and if the wchar character written into the buffer before the terminating character is a high surrogate code point of a surrogate pair, and if the next wchar character is a low surrogate code point, OLE DB Driver for SQL Server will not add the high surrogate code point to the buffer.