What is the difference between ANSI and UNICODE strings
when passed as arguments to a DLL?
Answers were Sorted based on User's Feedback
Answer / kaan
ANSI support 256 different characters
so it will take 8 bit to store single character
but
UNICODE support 65536 different character,so it will take
16 bit to store single character and it is more complex
This differences should consider while u interact with
unmanaged code(win32 api),export functions etc.,
| Is This Answer Correct ? | 22 Yes | 1 No |
Answer / vipul
ANSI: This standard provided 256 different symbols that a
computer can use. It was quick, efficient, and easy to
implement. All modern operating systems fully understand
ASCII.
UNICODE: Unicode which allowed for up to 65,536 different
characters. Since Unicode is more complex it is not
implemented on many operating systems. In terms of
Microsoft; Windows NT, Windows 2000, Windows XP, and
Windows 2003 support Unicode as will all future releases of
Windows.
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / guest
ANSI - one byte for a char
UNICODE - two bytes per char - works only on NT
| Is This Answer Correct ? | 17 Yes | 10 No |
What is the use of Tabledef?
What is the difference between a ActiveX DLL and a ActiveX EXE?
Which controls can not be placed in MDI ?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
what are container objects?
how to validate the pop up window Example :assume there is an webpage in that webpage we had a button to browser or file to upload . how to validate this button if we click on that botton window should appear else back to the page i need in VB Script Code since i am using QTP for testing
How can you check Beginning and End of the file?
How would you create properties by using class Builder Wizard?
How to check the condition in Msgbox?
How many images can be placed in the image list ?
Is it possible to set a shortcut key for label?
Why doesn't "my string" & Chr$(13) do what I want?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)