From: Doug Ewell (email@example.com)
Date: Mon Nov 22 2010 - 12:04:54 CST
sowmya satyanarayana <sowmya underscore satyanarayana at yahoo dot com>
> 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
This archive was generated by hypermail 2.1.5 : Mon Nov 22 2010 - 12:08:38 CST