
10 Sep
2004
10 Sep
'04
3:52 a.m.
Johnathan, How do I do locale specific Unicode-to-Multibyte conversion. As I understand the current design I need to do something like this: filtering_wostream out; out.push(unicode_to_multibyte_output_filter<__wchar_t>(locale)); out.push(cout); out << L"This gets converted to multibyte characters according to the current locale." << endl; But the second to last line will generate an error with the present design because I am attaching a narrow character stream to a wide character filtering ostream. Do I need to use the boost::io::copy() paradigm? :(- Regards, George.