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
↧