Yes, this is a Unicode build, and both UNICODE and _UNICODE are defined. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Biesinger Sent: Monday, April 23, 2007 11:14 AM To: [email protected] Subject: Re: Returning strings from C++ to JS
[EMAIL PROTECTED] wrote: > PRUnichar *ToNewUnicode(const TCHAR *sz) Do you define UNICODE or not? If you don't, your code doesn't do the right thing... -- All the world's a stage, And all the men and women merely players: They have their exits and their entrances; And one man in his time plays many parts, [...] --W. Shakespeare _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
