Unicode Problems
The following SQL will highlight some problems with Unicode under SQL Server.
DECLARE @nstring nchar(12) SET @nstring = N'?' SELECT UNICODE(@nstring), NCHAR(UNICODE(@nstring)) SELECT @nstring DECLARE @nstring2 char(12) SET @nstring2 = '?' SELECT ASCII(@nstring2), UNICODE(@nstring2), NCHAR(UNICODE(@nstring2)) SELECT @nstring2
Also, Unicode, especially on Microsoft Windows, is NOT the same thing as UTF-8.