Re: Are _T() and TEXT() macros equivalent?



Yes, these are the kinds of idiotic things that give C++ a bad name as
being too complex.
This has absolutely nothing to do with C/C++
_T, TEXT, _TEXT are not part of the standard, are just a bunch of MS macros.

And if one defines both _UNICODE and UNICODE as recomended, then is easy.


--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.



Relevant Pages

  • Re: UTF-8 practically vs. theoretically in the VFS API (was: Re: JFS default behavior)
    ... space that has to be controlled by one standard body, ... I have seen what people use in Russia, and it's not Unicode. ... that use a single charset, the decisions that are made for this small area ... Other charsets don't have language identification, ...
    (Linux-Kernel)
  • Re: [OT] Re: wchar_t
    ... Now tell me the practical upper limit that we can use to standardize the all-singing, all-dancing physical address for now and all future times. ... Consortium) even saw fit to pass a resolution that UTF-16 will forever more be adequate to express all expansions of ISO 10646 (the ISO standard corresponding to Unicode). ... and a new standard would be required. ... But memory size and character sets are different things. ...
    (comp.lang.c)
  • Re: Invariant with DIGIT-CHAR-P and the reader.
    ... > I don't think that CL should deviate from Unicode wrt characters. ... claiming that standard Lisp's digit-char-p was inconsistent with the ... combining Unicode digits from multiple ...
    (comp.lang.lisp)
  • Re: These are identical, right? char const* and const char*
    ... > Read a standard operating systems text on the use of semaphores. ... > This is from the latest Unicode Standard: ... Each of these three encoding forms is an ... >> Unicode is not one set of character encoding standards. ...
    (comp.lang.cpp)
  • Re: ASCII convention
    ... >> Peter T. Daniels schrieb: ... > There are other places where I have laid out some problems with Unicode ... Writing a standard for use in the industry ...
    (sci.lang)

Loading