Display: Cloud | List
Most Popular Tags
Results (45 total) All > unicode (x)
use nchar and nvarchar instead :) (char and varchar (Transact-SQL))
char is restricted to a particular code page, so eventually you'll likely get some input that doesn't fit in that code page, like an accent in someone's name or something, causing square boxes, ?, or worse. Or, you'll export to some vendor for a report, and they'll be a code page mis-match and something will again cause square boxes or ?.nchar/nvarchar support the full Unicode range and avoid the
Last modified by Shawn Steele on 3/10/2011 8:54:53 PM
Tags:  unicode
Using Variables that contain XML document (XML Task Editor (General Page))
The variable that containts XML document should be of type of String. However it seems that if the variable is loaded from a unicode file, the very first two character (FF,FE) of the variable that identify the unicode nature of the file need to be removed before variable is passed to XML task.
Last modified by Ali01 on 5/13/2010 5:25:44 PM
Tags:  task  unicode  variable  xml
Opening unicode IMessages (OpenIMsgOnIStg)
To access unicode .msg data, the flag MAPI_UNCIODE may be passed into ulFlags. If the underlying message does not support this flag, the result 0x8004011B will be returned. I haven't found any documentation on this particular HResult yet.
Last modified by Paul-Jan on 3/17/2010 9:38:09 AM
Tags:  unicode
Unicode in the Windows APIWindows API functions that manipulate characters are generally implemented in one of three formats:A generic version that can be compiled for either Windows code pages or UnicodeA Windows code page version with the letter "A" used to indicate "ANSI"A Unicode version with the letter "W" used to indicate "wide"Some newer functions support only Unicode versions. For more
Last modified by Microsoft on 2/10/2010 10:10:53 PM
Tags:  unicode
Different behaviour on Unicode and ANSI versions (InitiateSystemShutdown function (Windows))
The issue above is more general than just .NET. It seems that the ANSI version of the method accepts NULL in lpMachineName, but the Unicode version does not - it requires \\127.0.0.1 as described above.InitiateSystemShutdownA(NULL, NULL, 0, true, true);InitiateSystemShutdownW(\\127.0.01, NULL, 0, true, true);The above calls both work butInitiateSystemShutdownW(NULL, NULL, 0, true, true);fails with
Last modified by Graham Neden-Watts on 1/25/2010 4:42:39 PM
Convert from Unicode UTF-8 to UTF-16 (MultiByteToWideChar function (Windows))
A sample C++ code showing how to convert Unicode text from UTF-8 to UTF-16 encoding using MultiByteToWideChar can be found here: http://msmvps.com/blogs/gdicanio/archive/2010/01/04/conversion-between-unicode-utf-16-and-utf-8-in-c-win32.aspx
Last modified by Giovanni Dicanio on 1/5/2010 10:29:28 AM
Tags:  sample  unicode
Convert from Unicode UTF-16 to UTF-8 (WideCharToMultiByte function (Windows))
A sample C++ code showing how to convert Unicode text from UTF-16 to UTF-8 encoding using WideCharToMultiByte can be found here: http://msmvps.com/blogs/gdicanio/archive/2010/01/04/conversion-between-unicode-utf-16-and-utf-8-in-c-win32.aspxhttp://blog.csdn.net/rrrfff
Last modified by Yi Xin Wu on 4/8/2012 2:39:12 AM
Tags:  sample  unicode
Incorrect required buffer size for UNICODE version (GetVolumePathNamesForVolumeName function (Windows))
This function seems to have a bug when reporting the size of the required buffer. When I call it to determine the required buffer size, it reports that I need 5 bytes for the path name ("D:\" + NULL + NULL), which is correct. I allocate the buffer and make the call again. It succeeds and has the correct information in the buffer. When I try to free the buffer, I get a heap corrupted exception. I h
Last modified by SOWI on 11/12/2010 8:12:00 AM
Tags:  buffer  unicode
When accessing files using the single-byte character functions (fopen, _open, _stat, _utime, CreateFileA, etc.), you should bear in mind that these functions all modify the name using the current codepage (what the user has set in their regional setting "language for non-unicode programs"). While this doesn't cause any problems when using an English codepage (you can use chars 128-255 in filenames
Last modified by Samuel Bronson on 1/29/2011 12:05:47 AM
SQL Server 2008 Books Online (June 2009)Collation and International TerminologyCollations in SQL Server provide sorting rules, case, and accent sensitivity properties for your data. Collations that are used with character data types such as char and varchar dictate the code page and corresponding characters that can be represented for that data type. Whether you are installing a new instance of SQ
Last modified by Microsoft on 6/30/2009 10:47:42 PM
Tags:  server  sql  unicode
Page view tracker