> I believe, if I try hard enough, I can get C++ to convert from one > encoding to another using features from <locale>, but I'm not sure. I'm > guessing it would be overly optimistic to expect the assignment operator > in std::basic_string<> to provide that conversion.
No chance. That wasn't what I meant, I just meant that you can use them as is in 16-bit form with std::string if you're willing to accept that some versions of some compilers won't let you. I'm sure you could get <locale> to work, maybe, but noone I know has tried. > > The worst part of this is not having string literals, I freely admit. > > w_char doesn't work, eh? On Windows, yes. Occasionally a few other places. Not on Solaris or Linux. > I have to wonder what a person would do if - may the High Ones forbid it - > they actually wanted to use the DOM to model a document in, say, a word > processor. Use Unicode, plain and simple. It's the touch points that create the problems. -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
