Quantcast
Viewing all articles
Browse latest Browse all 12198

UTF-16 needs double string length

To store four-byte character in UTF-16, the string length (number of characters, not bytes) needs to be doubled, as these Unicode characters take up two characters in NVARCHAR. See http://msdn.microsoft.com/en-us/library/bb330962(v=sql.90).aspx

Viewing all articles
Browse latest Browse all 12198

Trending Articles