sowmya satyanarayana <sowmya underscore satyanarayana at yahoo dot com>
wrote:

> Taking this, what is the best way to define _T(x) macro of UNICODE version, 
> so 
> that my strings will always be
> 2 byte wide character?

Unicode characters aren't always 2 bytes wide.  Characters with values
of U+10000 and greater take two UTF-16 code units, and are thus 4 bytes
wide in UTF-16.

--
Doug Ewell | Thornton, Colorado, USA | http://www.ewellic.org
RFC 5645, 4645, UTN #14 | ietf-languages @ is dot gd slash 2kf0s ­




Reply via email to